[FEATURE] Basic changes for basic testing in cubit (#11)

Co-authored-by: Dunemask <dunemask@gmail.com>
Reviewed-on: https://gitea.dunemask.dev/elysium/minecluster/pulls/11
This commit is contained in:
dunemask 2024-02-04 04:59:38 +00:00
parent 4390f90b1c
commit edbfc2348a
2 changed files with 6 additions and 3 deletions

View file

@ -84,7 +84,7 @@ export async function createServer(req, res) {
try {
const serverEntry = await createServerEntry(serverSpec);
await createServerResources(serverEntry);
res.sendStatus(200);
res.json(serverEntry);
} catch (e) {
sendError(res)(e);
}