mirror of
https://github.com/oceanprotocol/webtasks
synced 2024-11-27 21:00:07 +01:00
pass through status code
This commit is contained in:
parent
6bff6d4fa1
commit
2ba4f1fbe6
@ -21,7 +21,7 @@ const sendRequest = (options, res) => {
|
||||
if (error) res.send(error)
|
||||
|
||||
res.send(body)
|
||||
res.sendStatus(200)
|
||||
res.sendStatus(response.statusCode)
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user