Skip to content

Commit 0c059f7

Browse files
fixed typo
1 parent 08047b3 commit 0c059f7

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
@@ -26,7 +26,7 @@ module.exports = function userContextMiddleware() {
2626

2727
return Promise.join(
2828
app.models[UserModel].findById(req.accessToken.userId),
29-
app.models.[TeamModel].find({
29+
app.models[TeamModel].find({
3030
where: {
3131
userId: req.accessToken.userId
3232
}

0 commit comments

Comments
 (0)