Procházet zdrojové kódy

Merge pull request #5103 from ipyramiddev/master

make available translation text to set empty string
Lauri Ojansivu před 2 roky
rodič
revize
f4e315cf52
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      models/translation.js

+ 2 - 1
models/translation.js

@@ -23,10 +23,11 @@ Translation.attachSchema(
        * the translation text
        * the translation text
        */
        */
       type: String,
       type: String,
+      optional: true,
     },
     },
     createdAt: {
     createdAt: {
       /**
       /**
-       * creation date of the organization user
+       * creation date of the translation custom string
        */
        */
       type: Date,
       type: Date,
       // eslint-disable-next-line consistent-return
       // eslint-disable-next-line consistent-return