From a780a716f128dd33894e756b04f26d77e1e988dc Mon Sep 17 00:00:00 2001 From: Adrian Andersen Date: Thu, 8 Aug 2024 14:24:53 +0200 Subject: [PATCH] HOTFIX(branch-post): fix branch schema (#535) --- src/collections/branch/branch.schema.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/collections/branch/branch.schema.ts b/src/collections/branch/branch.schema.ts index aad8ffd4..904af8ae 100644 --- a/src/collections/branch/branch.schema.ts +++ b/src/collections/branch/branch.schema.ts @@ -87,16 +87,16 @@ export const branchSchema = new Schema>({ default: [], }, buyout: { - type: { - percentage: Number, + percentage: { + type: Number, + default: 1, }, - default: 1, }, sell: { - type: { - percentage: Number, + percentage: { + type: Number, + default: 1, }, - default: 1, }, acceptedMethods: { type: [String],