Quellcode durchsuchen

Merge pull request #5103 from ipyramiddev/master

make available translation text to set empty string
Lauri Ojansivu vor 1 Jahr
Ursprung
Commit
f4e315cf52
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      models/translation.js

+ 2 - 1
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