Compare commits

...

2 Commits

Author SHA1 Message Date
7d5ec1183c Bump node version
All checks were successful
Test, Build, Deploy / Test, Build, and Deploy (push) Successful in 1m20s
Test, Build, Deploy / Create Sentry Release (push) Successful in 5s
2026-04-14 00:23:24 -04:00
96d221be2a Fix this one too 2026-04-14 00:20:57 -04:00
2 changed files with 3 additions and 3 deletions

View File

@@ -1 +1 @@
v24.14.0
v24.14.1

View File

@@ -1,5 +1,5 @@
import { jsonError, jsonResponse } from "../../../common.js";
import { JsonObject } from "../../../../generated/prisma/internal/prismaNamespace.js";
import { type JsonObject } from "../../../../generated/prisma/internal/prismaNamespace.js";
export async function onRequestGet(context: RequestContext) {
const types: { [k: string]: number[] } = {
@@ -53,7 +53,7 @@ export async function onRequestGet(context: RequestContext) {
},
});
if (item) delete (item.user as JsonObject).email;
if (item) delete (item.user as JsonObject | null)?.email;
break;
default: