chore: Ensure comment data is validated before persisting (#6322)
Fix flash on render of comment create
This commit is contained in:
@@ -2,7 +2,7 @@ import isEmpty from "lodash/isEmpty";
|
||||
import z from "zod";
|
||||
import { FileOperationType } from "@shared/types";
|
||||
import { FileOperation } from "@server/models";
|
||||
import BaseSchema from "../BaseSchema";
|
||||
import { BaseSchema } from "../schema";
|
||||
|
||||
const CollectionsSortParamsSchema = z.object({
|
||||
/** The attribute to sort by */
|
||||
|
||||
Reference in New Issue
Block a user