Finish basic setup for configuration loading

This commit is contained in:
Dominic Ferrando
2026-07-04 19:05:38 -04:00
parent a888d24bfd
commit 338a40d947
11 changed files with 5724 additions and 272 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ export const app = new Elysia()
(app) => app
// Non-authenticated
.post("/calculate", async ({ body }) => {
return { levels: s.Calculator.calculate(body.player, body.activityPerformances) };
return { levels: await s.Calculator.calculate(body.player, body.activityPerformances) };
}, {
body: t.Object({
player: PlayerSchema,