Skip to content

Commit bd6232d

Browse files
committed
set status correctly
1 parent 78ec2bf commit bd6232d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ function start(config, onServerReady) {
259259
return auth.refreshAccess(u.refresh_token, function(err, newToken) {
260260
if(err) {
261261
console.error(err);
262-
res.status = 403;
262+
res.status(403);
263263
res.send("Access token fetch failure");
264264
res.end();
265265
return;

0 commit comments

Comments
 (0)