Skip to content
This repository was archived by the owner on Nov 10, 2021. It is now read-only.

Commit f83ac19

Browse files
committed
Fix response code
1 parent 5a534e8 commit f83ac19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ router
5050
json: true
5151
})
5252
.then(auth => {
53-
ctx.assert(auth.client_id === client_id, 401)
53+
ctx.assert(auth.client_id === client_id, 500)
5454
return Promise.all([
5555
auth.token,
5656
rp({

0 commit comments

Comments
 (0)