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:
parent
ec34702d90
commit
aa953dc796
4 changed files with 12 additions and 3 deletions
|
|
@ -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(", ")}`
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue