From 1dc6be3a9d080ffb0d8c368bc678eafc65a964af Mon Sep 17 00:00:00 2001 From: Bereket Engida Date: Mon, 21 Oct 2024 23:02:46 +0300 Subject: [PATCH] fix: facbook missing picture --- package.json | 1 + packages/better-auth/src/social-providers/facebook.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fe11ea28..30d7b50f 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/packages/better-auth/src/social-providers/facebook.ts b/packages/better-auth/src/social-providers/facebook.ts index dc240bc1..47546c3c 100644 --- a/packages/better-auth/src/social-providers/facebook.ts +++ b/packages/better-auth/src/social-providers/facebook.ts @@ -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,