Skip to content

Commit

Permalink
fix: allow isProxy
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinkrustev committed Jul 9, 2024
1 parent e5c6a53 commit 0562282
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .ncurc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ reject: [
# sinon v17.0.1 causes 58 tests to fail. This will need to be resolved in a future story.
# Issue is tracked here: https://github.com/mojaloop/project/issues/3616
"sinon",
# glob >= 11 requires node >= 20
"glob",
"@mojaloop/central-services-shared"
]
3 changes: 2 additions & 1 deletion src/api/participants/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ module.exports = [
payload: Joi.object({
name: nameValidator,
// password: passwordValidator,
currency: currencyValidator // ,
currency: currencyValidator,
isProxy: Joi.boolean()
// emailAddress: Joi.string().email().required()
})
}
Expand Down

0 comments on commit 0562282

Please sign in to comment.