Skip to content

Commit

Permalink
allow null for external ID
Browse files Browse the repository at this point in the history
  • Loading branch information
Xziy committed May 4, 2024
1 parent aaba593 commit 79cc3b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion models/PaymentDocument.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let attributes = {
type: "string",
unique: true,
required: false,
// allowNull: true // Only for NEW state
allowNull: true // Only for NEW state
},
/** Model from which payment is made*/
originModel: "string",
Expand Down
2 changes: 1 addition & 1 deletion models/PaymentDocument.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ let attributes = {
type: "string",
unique: true,
required: false,
// allowNull: true // Only for NEW state
allowNull: true // Only for NEW state
} as unknown as string,

/** Model from which payment is made*/
Expand Down

0 comments on commit 79cc3b9

Please sign in to comment.