Skip to content

Commit 9b4ab13

Browse files
author
Michael Salinger
committed
Removed additional next calls
1 parent 968f266 commit 9b4ab13

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

index.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ ExpressOAuthServer.prototype.authenticate = function(options) {
5050
.catch(function(e) {
5151
return handleError(e, req, res);
5252
});
53-
//.finally(next);
5453
};
5554
};
5655

@@ -81,8 +80,7 @@ ExpressOAuthServer.prototype.authorize = function(options) {
8180
})
8281
.catch(function(e) {
8382
return handleError(e, req, res, response);
84-
})
85-
.finally(next);
83+
});
8684
};
8785
};
8886

@@ -113,8 +111,7 @@ ExpressOAuthServer.prototype.token = function(options) {
113111
})
114112
.catch(function(e) {
115113
return handleError(e, req, res, response);
116-
})
117-
.finally(next);
114+
});
118115
};
119116
};
120117

0 commit comments

Comments
 (0)