Skip to content

Commit ea713a0

Browse files
committed
fix: uncomment the dev api
1 parent 69c9906 commit ea713a0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

server/api/dev/index.post.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@ export default defineEventHandler(async (_event) => {
1717
});
1818
}
1919

20-
throw createError({
21-
statusCode: 500,
22-
statusMessage: "This function is disabled",
23-
});
20+
// throw createError({
21+
// statusCode: 500,
22+
// statusMessage: "This function is disabled",
23+
// });
24+
25+
// /**
26+
// * ! disabling the update operation
27+
// */
2428

2529
const updatedRecord = await prisma.published_dataset.update({
2630
data: {

0 commit comments

Comments
 (0)