Remove unused api endpoint

This commit is contained in:
orosmatthew 2023-04-28 15:42:12 -04:00
parent 7bce31f5fc
commit 596db398e7

View File

@ -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;