We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e989ed commit 0c929bfCopy full SHA for 0c929bf
src/controller/org.controller/org.middleware.js
@@ -196,7 +196,7 @@ function validateUpdateOrgParameters () {
196
for (const validation of validations) {
197
const result = await validation.run(req)
198
if (!result.isEmpty()) {
199
- return res.status(400).json({ message: 'Parameters were invalid', errors: result.array() })
+ return res.status(400).json({ message: 'Parameters were invalid', details: result.array() })
200
}
201
202
next()
0 commit comments