소스 검색

reverse before commit

yusuketk 7 년 전
부모
커밋
e6baf2a184
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/server/models/tag.js

+ 2 - 0
src/server/models/tag.js

@@ -21,6 +21,7 @@ schema.plugin(mongoosePaginate);
  * @class Tag
  */
 class Tag {
+
   static async findOrCreate(tagName) {
     const tag = await this.findOne({ name: tagName });
     if (!tag) {
@@ -28,6 +29,7 @@ class Tag {
     }
     return tag;
   }
+
 }
 
 module.exports = function() {