chore: Ensure comment data is validated before persisting (#6322)

Fix flash on render of comment create
This commit is contained in:
Tom Moor
2023-12-28 14:46:50 -04:00
committed by GitHub
parent 79764b1e64
commit 428b3c9553
30 changed files with 163 additions and 46 deletions

View File

@@ -2,7 +2,7 @@ import { z } from "zod";
import { IntegrationType } from "@shared/types";
import { Integration } from "@server/models";
import { UserCreatableIntegrationService } from "@server/models/Integration";
import BaseSchema from "../BaseSchema";
import { BaseSchema } from "../schema";
export const IntegrationsListSchema = BaseSchema.extend({
body: z.object({