[FEATURE] Additional data for API clients

This commit is contained in:
Dunemask 2024-01-31 23:00:59 -07:00
parent 4390f90b1c
commit 9ee9743fa0
2 changed files with 7 additions and 3 deletions

View file

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