mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-15 20:25:23 +02:00
fix(swarm): adjust validation for containerId to allow empty array
This commit is contained in:
@@ -67,8 +67,7 @@ export const swarmRouter = createTRPCRouter({
|
||||
.string()
|
||||
.min(1)
|
||||
.regex(containerIdRegex, "Invalid app name.")
|
||||
.array()
|
||||
.min(1),
|
||||
.array(),
|
||||
serverId: z.string().optional(),
|
||||
}),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user