mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-17 11:06:17 +08:00
returning discordid and avatar
This commit is contained in:
parent
115e434ce9
commit
48679e0cc2
1 changed files with 2 additions and 0 deletions
|
@ -137,6 +137,7 @@ export async function linkDiscord(
|
|||
if (userInfo.discordId) {
|
||||
await UserDAL.linkDiscord(uid, userInfo.discordId, discordAvatar);
|
||||
return new MonkeyResponse("Discord avatar updated", {
|
||||
discordId,
|
||||
discordAvatar,
|
||||
});
|
||||
}
|
||||
|
@ -164,6 +165,7 @@ export async function linkDiscord(
|
|||
|
||||
return new MonkeyResponse("Discord account linked", {
|
||||
discordId,
|
||||
discordAvatar,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue