Skip to content

Commit

Permalink
Fix: 400 error when creating room
Browse files Browse the repository at this point in the history
When attempting to create a room, cerebrium responds with a 400 (Bad request error). This happens because it is not expecting an empty body.
  • Loading branch information
kylegani authored Jan 16, 2025
1 parent 8c35759 commit d126b6a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export const fetch_start_agent = async (
"Content-Type": "application/json",
"Authorization": `Bearer ${serverAuth}`
},
body: JSON.stringify({}),
});

const data = await req.json();
Expand Down

0 comments on commit d126b6a

Please sign in to comment.