Remove unused path constant
This commit is contained in:
@@ -31,7 +31,7 @@ export async function onRequestPost(context: RequestContext) {
|
||||
)
|
||||
.run();
|
||||
|
||||
const { etag, path, value: banList } = await getBanList(context);
|
||||
const { etag, value: banList } = await getBanList(context);
|
||||
|
||||
delete banList[user];
|
||||
await setBanList(context, banList, etag);
|
||||
|
||||
Reference in New Issue
Block a user