Move to V2 datastore apis
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user