fix: remove enum for project types

This commit is contained in:
James Murdza
2024-08-18 06:52:41 -07:00
parent 170bb45143
commit 71004c61b2
3 changed files with 3 additions and 3 deletions

View File

@ -137,7 +137,7 @@ export default {
} else if (path === "/api/init" && method === "POST") {
const initSchema = z.object({
sandboxId: z.string(),
type: z.enum(["react", "node"]),
type: z.string(),
})
const body = await request.json()