1
0
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:
Matthias Kretschmann 2018-06-21 19:46:27 +02:00
parent 6bff6d4fa1
commit 2ba4f1fbe6
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -21,7 +21,7 @@ const sendRequest = (options, res) => {
if (error) res.send(error)
res.send(body)
res.sendStatus(200)
res.sendStatus(response.statusCode)
})
}