Skip to content

Commit

Permalink
added userId to api
Browse files Browse the repository at this point in the history
  • Loading branch information
alimaktabi committed Oct 31, 2024
1 parent bd77194 commit e0fa2e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/profile/components/socialAccounts/telegram.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const TelegramAccount: FC<{
<LoginButton
botUsername={"unitapappbot"}
onAuthCallback={(data: any) => {
onConnect(data);
onConnect({ ...data, userId: data.id });
}}
showAvatar={true} // true | false
lang="en"
Expand Down

0 comments on commit e0fa2e0

Please sign in to comment.