Browse Source

reverse before commit

yusuketk 7 years ago
parent
commit
e6baf2a184
1 changed files with 2 additions and 0 deletions
  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() {