mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-11 14:35:17 +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({
|
.extend({
|
||||||
mongoId: z.string().min(1),
|
mongoId: z.string().min(1),
|
||||||
dockerImage: z.string().optional(),
|
dockerImage: z.string().optional(),
|
||||||
|
replicaSets: z.boolean().optional(),
|
||||||
})
|
})
|
||||||
.omit({ serverId: true });
|
.omit({ serverId: true });
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user