Skip to content

Commit cb7d164

Browse files
committed
Merge remote-tracking branch 'origin/staging' into development
2 parents 2468062 + 24d9300 commit cb7d164

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/api/i18n.v2/model/Translation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export class Translation {
2121
if (typeof context.id !== 'string') {
2222
throw new Error(`context.id is of type "${typeof context.id}", should be a string`);
2323
}
24-
if (value === null || value === undefined || value === '') {
25-
throw new Error(`Translation value for key "${key}" cannot be null, undefined, or empty`);
24+
if (value === null || value === undefined) {
25+
throw new Error(`Translation value for key "${key}" cannot be null or undefined`);
2626
}
2727
this.key = key;
2828
this.value = value;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "uwazi",
3-
"version": "1.229.0-rc149",
3+
"version": "1.229.0-rc150",
44
"description": "Uwazi is a free, open-source solution for organising, analysing and publishing your documents.",
55
"keywords": [
66
"react"

0 commit comments

Comments
 (0)