Skip to content

Commit

Permalink
small comment
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar committed Nov 20, 2024
1 parent 9604304 commit d6985f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions routes/v1/sessions/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ export default withRouteSpec({
host: z.string(),
}),
})((req, ctx) => {
// TODO check the body, this endpoint sends a 502 bad gateway
// if you don't provide an empty string in the body

const session = {
session_id: randomUUID(),
user_id: req.headers.get("Freerouting-Profile-ID") ?? randomUUID(),
Expand Down

0 comments on commit d6985f6

Please sign in to comment.