mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-10-15 21:31:11 +00:00
FIX: replicaSets default to false after updating mongo due to default
set by create schema
This commit is contained in:
@@ -195,6 +195,7 @@ export const apiUpdateMongo = createSchema
|
||||
.extend({
|
||||
mongoId: z.string().min(1),
|
||||
dockerImage: z.string().optional(),
|
||||
replicaSets: z.boolean().optional(),
|
||||
})
|
||||
.omit({ serverId: true });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user