Commit the right files this time...
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { jsonError, jsonResponse } from "../../../common.js";
|
import { jsonError, jsonResponse } from "../../../common.js";
|
||||||
import { JsonObject } from "@prisma/client/runtime/client";
|
import { JsonObject } from "../../../../generated/prisma/internal/prismaNamespace.js";
|
||||||
|
|
||||||
export async function onRequestGet(context: RequestContext) {
|
export async function onRequestGet(context: RequestContext) {
|
||||||
const types: { [k: string]: number[] } = {
|
const types: { [k: string]: number[] } = {
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
import { jsonError, jsonResponse } from "../../../common.js";
|
import { jsonError, jsonResponse } from "../../../common.js";
|
||||||
import { InactivityNotice } from "../../../../generated/prisma/client.js";
|
import { InactivityNotice } from "../../../../generated/prisma/client.js";
|
||||||
import { type JsonObject, raw } from "@prisma/client/runtime/client";
|
import {
|
||||||
|
JsonObject,
|
||||||
|
raw,
|
||||||
|
} from "../../../../generated/prisma/internal/prismaNamespace.js";
|
||||||
|
|
||||||
export async function onRequestGet(context: RequestContext): Promise<any> {
|
export async function onRequestGet(context: RequestContext): Promise<any> {
|
||||||
const type = context.params.type as string;
|
const type = context.params.type as string;
|
||||||
|
|||||||
Reference in New Issue
Block a user