Skip to content

Commit efb7d9d

Browse files
authored
Merge pull request #126 from Extra-Chill/fix-instagram-graph-api-auth
fix: return save_account result from OAuth storage callback
2 parents c9279a0 + 05a4963 commit efb7d9d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

inc/Handlers/Instagram/InstagramAuth.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,9 @@ function ( $short_lived_token_data ) use ( $config ) {
200200
},
201201
null, // No token transform needed after exchange
202202
function ( $account_data ) {
203-
$this->save_account( $account_data );
203+
$saved = $this->save_account( $account_data );
204204
$this->schedule_proactive_refresh();
205+
return $saved;
205206
}
206207
);
207208
}

0 commit comments

Comments
 (0)