Skip to content
Snippets Groups Projects
Commit 38cd8c90 authored by Tobias Ørstad's avatar Tobias Ørstad
Browse files

Fixed an error where create tournament returned the wrong format

parent 0bdfc788
No related branches found
No related tags found
1 merge request!96Resolve "Backend cleanup"
...@@ -175,7 +175,7 @@ router.post("/new", (req, res) => { ...@@ -175,7 +175,7 @@ router.post("/new", (req, res) => {
return; return;
} }
// returns the tournament // returns the tournament
res.json(result); res.json(result.ops[0]);
client.close(); client.close();
} }
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment