fixing 500 error response

parent 3bd018f3
Showing with 1 additions and 1 deletions
...@@ -144,7 +144,7 @@ module.exports = { ...@@ -144,7 +144,7 @@ module.exports = {
} }
if (decodedParams.Ds_Response[0] != '0' || decodedParams.Ds_Response[1] != '0'){ if (decodedParams.Ds_Response[0] != '0' || decodedParams.Ds_Response[1] != '0'){
throw new Error("Bad response"); return res.ok("Negative notification received");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment