use app instead of server in boot directories
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
module.exports = function mountRestApi(server) {
|
||||
var restApiRoot = server.get('restApiRoot');
|
||||
server.use(restApiRoot, server.loopback.rest());
|
||||
module.exports = function mountRestApi(app) {
|
||||
var restApiRoot = app.get('restApiRoot');
|
||||
app.use(restApiRoot, app.loopback.rest());
|
||||
};
|
||||
|
Reference in New Issue
Block a user