Skip to content

Commit 2fc572a

Browse files
Update user-context.js
using const instead of var
1 parent ab9edeb commit 2fc572a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/middleware/user-context.js

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

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

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

0 commit comments

Comments
 (0)