mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-20 01:55:26 -05:00
Add .jpg as temp tournament admin
This commit is contained in:
@@ -310,6 +310,8 @@ interface CanAdminTournament {
|
||||
export function canAdminTournament({ user, tournament }: CanAdminTournament) {
|
||||
// temporary hack to let Njok admin tournaments as well
|
||||
if (user?.id === 14710) return true;
|
||||
// // temporary hack to let .jpg admin tournaments as well
|
||||
if (user?.id === 622) return true;
|
||||
|
||||
return adminOverride(user)(user?.id === tournament.author.id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user