Skip to content

Commit

Permalink
fix(csi-1130): funds-out transferid regex (#1150)
Browse files Browse the repository at this point in the history
  • Loading branch information
oderayi authored Jan 22, 2025
1 parent 0bb3a8a commit 2e672ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"@hapi/inert": "7.1.0",
"@hapi/vision": "7.0.3",
"@mojaloop/central-services-error-handling": "13.0.3",
"@mojaloop/central-services-health": "15.0.1",
"@mojaloop/central-services-health": "15.0.2",
"@mojaloop/central-services-logger": "11.5.2",
"@mojaloop/central-services-metrics": "12.4.3",
"@mojaloop/central-services-shared": "18.15.2",
Expand Down
2 changes: 1 addition & 1 deletion src/api/participants/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ module.exports = [
name: nameValidator,
id: Joi.number().integer().positive(),
// Some tests still use uuid, so we need to support both uuid and ulid here for now
transferId: Joi.string().pattern(/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]}$|^[0-9A-HJKMNP-TV-Z]{26}$6})$/).required()
transferId: Joi.string().pattern(/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$|^[0-9A-HJKMNP-TV-Z]{26})$/).required()
})
}
}
Expand Down

0 comments on commit 2e672ad

Please sign in to comment.