Commit 9d6713fe authored by Dennis Willers's avatar Dennis Willers 🏀

Change Response from AddSpielSession

parent a4c704ee
Pipeline #283 passed with stages
in 2 minutes and 2 seconds
...@@ -12,9 +12,9 @@ function createRouter(db) { ...@@ -12,9 +12,9 @@ function createRouter(db) {
(error) => { (error) => {
if (error) { if (error) {
console.error(error); console.error(error);
res.status(500).json({status: 'error'}); res.status(500).json({status: 'false'});
} else { } else {
res.status(200).json({status: 'ok'}); res.status(200).json({status: 'true'});
} }
} }
); );
......
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