mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
fix(pockethost): improve formatting of invalid mothership version message
This commit is contained in:
parent
1c031f46af
commit
a9728fb893
@ -8,7 +8,7 @@ onModelBeforeUpdate((e) => {
|
||||
const version = e.model.get('version')
|
||||
if (!versions.includes(version)) {
|
||||
throw new BadRequestError(
|
||||
`Invalid version ${version}. Version must be one of: ${versions.join(
|
||||
`Invalid version '${version}'. Version must be one of: ${versions.join(
|
||||
', ',
|
||||
)}`,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user