Skip to content

Commit 5b7a038

Browse files
authored
marked inDiscord: true, archived: false on /verify command (#2098)
* inital commit * removed not needed code
1 parent a312da2 commit 5b7a038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/external-accounts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const linkExternalAccount = async (req, res) => {
6262

6363
await addOrUpdate(
6464
{
65-
roles: { ...roles, in_discord: true },
65+
roles: { ...roles, in_discord: true, archived: false },
6666
discordId: attributes.discordId,
6767
discordJoinedAt: attributes.discordJoinedAt,
6868
},

0 commit comments

Comments
 (0)