From 021db14a436e89a294947abe69a0362d6462dbb9 Mon Sep 17 00:00:00 2001 From: Yevhenii Pertiaka Date: Wed, 23 Aug 2023 23:52:07 +0900 Subject: [PATCH] make available translation text to set empty string --- models/translation.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/models/translation.js b/models/translation.js index 989db1e0f..b473ff2b7 100644 --- a/models/translation.js +++ b/models/translation.js @@ -23,10 +23,11 @@ Translation.attachSchema( * the translation text */ type: String, + optional: true, }, createdAt: { /** - * creation date of the organization user + * creation date of the translation custom string */ type: Date, // eslint-disable-next-line consistent-return