Skip to content

Commit

Permalink
fix: allow devs to unlink account
Browse files Browse the repository at this point in the history
  • Loading branch information
csuvajit committed Sep 29, 2024
1 parent 69efc28 commit 5c6626a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/service-auth/src/clans/clans.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ export class ClansService {
userId: user?.userId,
username: user?.username,
verified: user?.verified,
deletable: !user?.verified && authUserTags.some((tag) => clanLeaders.includes(tag)),
deletable:
authUserId === '444432489818357760' ||
(!user?.verified && authUserTags.some((tag) => clanLeaders.includes(tag))),
};
}),
};
Expand Down

0 comments on commit 5c6626a

Please sign in to comment.