diff options
author | BoryaGames <67229357+BoryaGames@users.noreply.github.com> | 2024-02-11 04:39:09 +0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-11 10:39:09 +1100 |
commit | 3eb5a3f420c80c1b99ec0921f497e7c513e96fad (patch) | |
tree | 2d9085545571c358426fb9a4ff72dff4a3ca03e8 /src/api/routes/guilds | |
parent | Revert "fix merged_members roles having everyone id" (diff) | |
download | server-3eb5a3f420c80c1b99ec0921f497e7c513e96fad.tar.xz |
Fix application icons (#1110)
Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
Diffstat (limited to '')
-rw-r--r-- | src/api/routes/guilds/#guild_id/bans.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/guilds/#guild_id/bans.ts b/src/api/routes/guilds/#guild_id/bans.ts index 9aeb27f0..d399e549 100644 --- a/src/api/routes/guilds/#guild_id/bans.ts +++ b/src/api/routes/guilds/#guild_id/bans.ts @@ -195,7 +195,7 @@ router.delete( async (req: Request, res: Response) => { const { guild_id, user_id } = req.params; - const ban = await Ban.findOneOrFail({ + await Ban.findOneOrFail({ where: { guild_id: guild_id, user_id: user_id }, }); |