Move to V2 datastore apis
This commit is contained in:
@@ -49,9 +49,7 @@ export async function onRequestGet(context: RequestContext) {
|
||||
let banList;
|
||||
|
||||
try {
|
||||
banList = (await getBanList(context)) as {
|
||||
[k: string]: { BanType: number };
|
||||
};
|
||||
banList = (await getBanList(context)).value;
|
||||
} catch {
|
||||
return jsonError("Failed to create data transfer request", 500);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user