Move to V2 datastore apis
This commit is contained in:
@@ -33,13 +33,7 @@ export async function onRequestGet(context: RequestContext) {
|
||||
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 (e) {
|
||||
console.log(e);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user