diff --git a/api/src/index.ts b/api/src/index.ts index 39c6d50..520cade 100644 --- a/api/src/index.ts +++ b/api/src/index.ts @@ -40,3 +40,5 @@ serve( console.log(`Server is running on http://localhost:${info.port}`); } ); + +// TODO: Add health check endpoint diff --git a/api/src/user.ts b/api/src/user.ts index 6339028..e2f0214 100644 --- a/api/src/user.ts +++ b/api/src/user.ts @@ -22,6 +22,7 @@ userRouter.get("/get-stream-token", async (c) => { disableCache: true, } ); + const token = serverClient.createToken(user_id); return c.json({