Skip to content

Commit bc931a1

Browse files
Update user-context.js
1 parent 0c059f7 commit bc931a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/middleware/user-context.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
const debug = require('debug')('loopback:componenet:access:context');
44
const loopback = require('loopback');
5+
var Promise = require("bluebird");
56

67
module.exports = function userContextMiddleware() {
78
// set current user to enable user access for remote methods

0 commit comments

Comments
 (0)