1
0
Fork 0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2026-03-02 02:31:35 +00:00

Tiny miscellanous changes

This commit is contained in:
Cadence Ember 2021-05-12 00:29:05 +12:00
parent ec34702d90
commit aa953dc796
No known key found for this signature in database
GPG key ID: BC1C2C61CF521B17
4 changed files with 12 additions and 3 deletions

View file

@ -86,7 +86,9 @@ function presetEnsureParams(list) {
() => ({
statusCode: 400,
contentType: "application/json",
content: `Some required body parameters were missing. Required parameters: ${list.join(", ")}`
content: {
error: `Some required body parameters were missing. Required parameters: ${list.join(", ")}`
}
})
]
}