Skip to content

Commit b6ec2d5

Browse files
[autofix.ci] apply automated fixes
1 parent 1753ac6 commit b6ec2d5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/server/src/db/schema/application.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,11 @@ const createSchema = createInsertSchema(applications, {
373373
endpointSpecSwarm: EndpointSpecSwarmSchema.nullable(),
374374
ulimitsSwarm: UlimitsSwarmSchema.nullable(),
375375
enableSubmodules: z.boolean().optional(),
376-
icon: z.string().max(2 * 1024 * 1024, "Icon must be less than 2MB").nullable().optional(),
376+
icon: z
377+
.string()
378+
.max(2 * 1024 * 1024, "Icon must be less than 2MB")
379+
.nullable()
380+
.optional(),
377381
});
378382

379383
export const apiCreateApplication = createSchema.pick({

0 commit comments

Comments
 (0)