fix: User Image returned from auth provider (#126)
This commit is contained in:
parent
807ad666c2
commit
614963271b
1 changed files with 1 additions and 1 deletions
2
auth.ts
2
auth.ts
|
|
@ -20,7 +20,7 @@ export const {
|
||||||
jwt({ token, profile }) {
|
jwt({ token, profile }) {
|
||||||
if (profile) {
|
if (profile) {
|
||||||
token.id = profile.id
|
token.id = profile.id
|
||||||
token.image = profile.picture
|
token.image = profile.avatar_url || profile.picture
|
||||||
}
|
}
|
||||||
return token
|
return token
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue