Skip to content

Commit 212d328

Browse files
authored
Merge pull request #81 from CoopExchange/Allow-string-user_id
Allow string user_ids
2 parents 751f3de + 21ad5b6 commit 212d328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MsGraph.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public function getTokenData(?string $id = null): ?MsGraphToken
208208
return MsGraphToken::where('user_id', $id)->where('refresh_token', '<>', '')->first();
209209
}
210210

211-
public function storeToken(string $access_token, string $refresh_token, string $expires, int $id, string $email): MsGraphToken
211+
public function storeToken(string $access_token, string $refresh_token, string $expires, string $id, string $email): MsGraphToken
212212
{
213213
return MsGraphToken::updateOrCreate(['user_id' => $id], [
214214
'user_id' => $id,

0 commit comments

Comments
 (0)