Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
HOTFIX(branch-post): fix branch schema (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianAndersen authored Aug 8, 2024
1 parent 6126536 commit a780a71
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/collections/branch/branch.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,16 @@ export const branchSchema = new Schema<ToSchema<Branch>>({
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],
Expand Down

0 comments on commit a780a71

Please sign in to comment.