mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-15 16:35:17 +00:00
Merge pull request #4543 from linkthai/fix/mongo-replicaSets-false-after-update
FIX: replicaSets default to false after updating mongo due to default
This commit is contained in:
@@ -202,6 +202,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