FIX: replicaSets default to false after updating mongo due to default

set by create schema
This commit is contained in:
thaivlinh 2026-06-04 02:12:22 +07:00
parent 6a0acd9cad
commit 3cb0523681

View File

@ -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 });