Skip to content

Commit

Permalink
fix: Wallet validation case
Browse files Browse the repository at this point in the history
  • Loading branch information
cyaiox committed Feb 14, 2025
1 parent 3e8a42d commit 169b334
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/admin-toolkit-ui/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ function isAllowedAdmin(
if (
player &&
authorizedAdminUsers.allowList &&
authorizedAdminUsers.adminAllowList.includes(player?.userId)
authorizedAdminUsers.adminAllowList.some(
(wallet) => wallet.toLowerCase() === player?.userId.toLowerCase(),
)
) {
return true
}
Expand Down

0 comments on commit 169b334

Please sign in to comment.