Skip to content

Commit

Permalink
when value defaults then it is not required
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelPull committed Oct 24, 2024
1 parent 9ff1953 commit 11c017e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions blockchain/src/envVarsSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ const envVarsSchema = Joi.object({
),
MULTICHAIN_RPC_USER: Joi.string()
.allow("")
.empty("")
.empty(["", null])
.default("multichainrpc")
.required()
.note("The user used to connect to the multichain daemon."),
MULTICHAIN_RPC_PASSWORD: Joi.string()
.min(32)
Expand Down

0 comments on commit 11c017e

Please sign in to comment.