Skip to content

Commit d6161aa

Browse files
committed
fix: ecosystem id
1 parent 5a45c38 commit d6161aa

File tree

1 file changed

+1
-3
lines changed
  • packages/thirdweb/src/wallets/in-app/core/users

1 file changed

+1
-3
lines changed

packages/thirdweb/src/wallets/in-app/core/users/getUser.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ export async function getUser({
9393

9494
const res = await clientFetch(url.toString(), {
9595
headers: {
96-
...(ecosystem?.id
97-
? { "x-ecosystem-id": `ecosystem.${ecosystem.id}` }
98-
: {}),
96+
...(ecosystem?.id ? { "x-ecosystem-id": ecosystem.id } : {}),
9997
...(ecosystem?.partnerId
10098
? { "x-ecosystem-partner-id": ecosystem.partnerId }
10199
: {}),

0 commit comments

Comments
 (0)