Skip to content

Commit

Permalink
Merge pull request #81 from CoopExchange/Allow-string-user_id
Browse files Browse the repository at this point in the history
Allow string user_ids
  • Loading branch information
dcblogdev authored Nov 14, 2024
2 parents 751f3de + 21ad5b6 commit 212d328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MsGraph.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public function getTokenData(?string $id = null): ?MsGraphToken
return MsGraphToken::where('user_id', $id)->where('refresh_token', '<>', '')->first();
}

public function storeToken(string $access_token, string $refresh_token, string $expires, int $id, string $email): MsGraphToken
public function storeToken(string $access_token, string $refresh_token, string $expires, string $id, string $email): MsGraphToken
{
return MsGraphToken::updateOrCreate(['user_id' => $id], [
'user_id' => $id,
Expand Down

0 comments on commit 212d328

Please sign in to comment.