remove slow call emulation from ct3a

This commit is contained in:
alex 3
2023-11-05 23:10:55 -05:00
parent 4c4e50e826
commit bdcd97576a
-3
View File
@@ -17,9 +17,6 @@ export const postRouter = createTRPCRouter({
}) })
) )
.mutation(async ({ ctx, input }) => { .mutation(async ({ ctx, input }) => {
// simulate a slow db call
await new Promise((resolve) => setTimeout(resolve, 1000));
return ctx.db.post.create({ return ctx.db.post.create({
data: { data: {
name: input.name, name: input.name,