Browse Source

Util service

Alan Colon 7 năm trước cách đây
mục cha
commit
f165540663
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      app/util.js

+ 3 - 1
app/util.js

@@ -1,5 +1,7 @@
 const app = require('./app')
 const util = require('../lib/util')
-app.service('util', () => util)
+app.service('util', function() {
+  return util
+})
 module.exports = util