Yuki Takei 7 tahun lalu
induk
melakukan
2522b64830
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      src/server/routes/admin.js

+ 3 - 3
src/server/routes/admin.js

@@ -470,15 +470,15 @@ module.exports = function(crowi, app) {
     search
       .addAllPages()
       .then(() => {
-        debug('Data is successfully indexed. ------------------ ✧✧')
+        debug('Data is successfully indexed. ------------------ ✧✧');
       })
       .catch(err => {
         debug('Error', err);
       });
 
-    req.flash('successMessage', 'Now re-building index ... this takes a while.')
+    req.flash('successMessage', 'Now re-building index ... this takes a while.');
     return res.redirect('/admin/search');
-  }
+  };
 
   actions.user = {};
   actions.user.index = async function(req, res) {