fix(pockethost): improve formatting of invalid mothership version message

This commit is contained in:
Ben Allfree 2024-07-28 01:23:22 +00:00
parent 1c031f46af
commit a9728fb893

View File

@ -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(
', ',
)}`,
)