fix: facbook missing picture

This commit is contained in:
Bereket Engida
2024-10-21 23:02:46 +03:00
parent 6b9bedfc8c
commit 1dc6be3a9d
2 changed files with 2 additions and 1 deletions

View File

@@ -13,6 +13,7 @@
"lint": "biome check .",
"lint:fix": "biome check . --apply",
"release": "turbo --filter \"./packages/*\" build && bumpp && pnpm -r publish --access public --no-git-checks",
"release:no-build": "bumpp && pnpm -r publish --access public --no-git-checks",
"release:beta": "turbo --filter \"./packages/*\" build && bumpp && pnpm -r publish --access public --tag next --no-git-checks",
"test": "turbo --filter \"./packages/*\" test",
"typecheck": "turbo --filter \"./packages/*\" typecheck"

View File

@@ -58,7 +58,7 @@ export const facebook = (options: FacebookOptions) => {
id: profile.id,
name: profile.name,
email: profile.email,
picture: profile.picture.data.url,
image: profile.picture.data.url,
emailVerified: profile.email_verified,
},
data: profile,