mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
fix: 🚨 Correct useless template literal
This commit is contained in:
parent
06315e8a81
commit
5e1ec8778c
|
|
@ -189,7 +189,7 @@ export default apiRoute((app) =>
|
||||||
if (!form[value]) {
|
if (!form[value]) {
|
||||||
errors.details[value].push({
|
errors.details[value].push({
|
||||||
error: "ERR_BLANK",
|
error: "ERR_BLANK",
|
||||||
description: `can't be blank`,
|
description: "can't be blank",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -291,7 +291,7 @@ export default apiRoute((app) =>
|
||||||
if (!locale) {
|
if (!locale) {
|
||||||
errors.details.locale.push({
|
errors.details.locale.push({
|
||||||
error: "ERR_BLANK",
|
error: "ERR_BLANK",
|
||||||
description: `can't be blank`,
|
description: "can't be blank",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue