소스 검색

make available translation text to set empty string

Yevhenii Pertiaka 1 년 전
부모
커밋
021db14a43
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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