2
0
Yuki Takei 7 жил өмнө
parent
commit
2522b64830

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

@@ -470,15 +470,15 @@ module.exports = function(crowi, app) {
     search
     search
       .addAllPages()
       .addAllPages()
       .then(() => {
       .then(() => {
-        debug('Data is successfully indexed. ------------------ ✧✧')
+        debug('Data is successfully indexed. ------------------ ✧✧');
       })
       })
       .catch(err => {
       .catch(err => {
         debug('Error', 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');
     return res.redirect('/admin/search');
-  }
+  };
 
 
   actions.user = {};
   actions.user = {};
   actions.user.index = async function(req, res) {
   actions.user.index = async function(req, res) {