[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-04-05 02:33:02 +00:00
committed by GitHub
parent 1753ac6605
commit b6ec2d510e

View File

@@ -373,7 +373,11 @@ const createSchema = createInsertSchema(applications, {
endpointSpecSwarm: EndpointSpecSwarmSchema.nullable(),
ulimitsSwarm: UlimitsSwarmSchema.nullable(),
enableSubmodules: z.boolean().optional(),
icon: z.string().max(2 * 1024 * 1024, "Icon must be less than 2MB").nullable().optional(),
icon: z
.string()
.max(2 * 1024 * 1024, "Icon must be less than 2MB")
.nullable()
.optional(),
});
export const apiCreateApplication = createSchema.pick({