chore: Ensure comment data is validated before persisting (#6322)
Fix flash on render of comment create
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { z } from "zod";
|
||||
import { ValidateDocumentId } from "@server/validation";
|
||||
import BaseSchema from "../BaseSchema";
|
||||
import { BaseSchema } from "../schema";
|
||||
|
||||
export const SubscriptionsListSchema = BaseSchema.extend({
|
||||
body: z.object({
|
||||
|
||||
Reference in New Issue
Block a user