can change name

This commit is contained in:
2025-08-16 00:15:07 -05:00
parent 1c915d1713
commit c755b83d3d
2 changed files with 6 additions and 1 deletions

View File

@@ -31,6 +31,9 @@ const api = new Elysia({ prefix: "/api" })
}),
}
)
.get("/profile", ({ cookie: { token: humanKey } }) =>
prisma.human.findFirst({ where: { key: humanKey.value } })
)
.get("/games", () => prisma.game.findMany())
.get("/instances", ({ query: { game } }) =>