mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-02 09:47:57 -05:00
Add .jpg as temp tournament admin
This commit is contained in:
parent
58727249e4
commit
859e4c73cd
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user