Remove unused api endpoint
This commit is contained in:
parent
7bce31f5fc
commit
596db398e7
@ -1,13 +0,0 @@
|
||||
import { z } from 'zod';
|
||||
import type { RequestHandler } from './$types';
|
||||
import { json } from '@sveltejs/kit';
|
||||
import { SubmissionState } from '@prisma/client';
|
||||
|
||||
const submissionPostData = z.object({
|
||||
state: z.nativeEnum(SubmissionState)
|
||||
});
|
||||
export type SubmissionPostData = z.infer<typeof submissionPostData>;
|
||||
|
||||
export const POST = (async ({ request }) => {
|
||||
return json({ success: true });
|
||||
}) satisfies RequestHandler;
|
Loading…
Reference in New Issue
Block a user