KV to D1 migration (this is totally gonna break something)
This commit is contained in:
@ -9,5 +9,13 @@ export async function onRequestGet(context: RequestContext) {
|
||||
|
||||
if (!success) return jsonError("Unable to retrieve appeals", 500);
|
||||
|
||||
return jsonResponse(JSON.stringify(results));
|
||||
return jsonResponse(
|
||||
JSON.stringify(
|
||||
results.map((result) => {
|
||||
result.user = JSON.parse(result.user as string);
|
||||
|
||||
return result;
|
||||
}),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user