can change name
This commit is contained in:
@@ -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 } }) =>
|
||||
|
||||
Reference in New Issue
Block a user