Skip to content

Commit ab1ac50

Browse files
committed
fix: include username on profile creation
1 parent c350a9e commit ab1ac50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

functions/src/supabaseSync/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ async function insertOrUpdateProfile(
9494
photo_url: user.userImage?.downloadUrl || null,
9595
country: user.location?.countryCode || null,
9696
tenant_id: process.env.TENANT_ID,
97+
username: user.userName,
9798
roles: user.userRoles,
9899
})
99100
.eq('firebase_auth_id', user._authID)

0 commit comments

Comments
 (0)