Parcourir la source

reverse before commit

yusuketk il y a 7 ans
Parent
commit
e6baf2a184
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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() {