Move to V2 datastore apis

This commit is contained in:
2026-03-31 03:24:13 -04:00
parent b69b5cb4eb
commit e3af1e4f37
8 changed files with 36 additions and 53 deletions

View File

@@ -24,13 +24,7 @@ export default async function (
let banList;
try {
banList = (await getBanList(context)) as {
[k: number]: {
BanType: number;
hidden_from_leaderboards?: boolean;
serverconfigurator_blacklist?: boolean;
};
};
banList = (await getBanList(context)).value;
} catch {
return {
error: "Failed to check your ban status",