Commit f709d779 authored by Dennis Willers's avatar Dennis Willers 🏀

Change Status Code

parent 41ced83e
Pipeline #294 passed with stages
in 2 minutes
...@@ -135,7 +135,7 @@ function createRouter(db) { ...@@ -135,7 +135,7 @@ function createRouter(db) {
if (error) { if (error) {
res.status(500).json({status: 'false'}); res.status(500).json({status: 'false'});
} else { } else {
res.status(500).json( res.status(200).json(
{ {
status: 'true', status: 'true',
cardID: card.CardID, cardID: card.CardID,
......
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 to comment