Skip to content

Commit

Permalink
fix: casing of auth0Client
Browse files Browse the repository at this point in the history
  • Loading branch information
markusahlstrand committed Dec 6, 2024
1 parent cc2320e commit 81a530a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/client-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { HonoRequest } from "hono";

export function getClientInfo(req: HonoRequest) {
return {
auth0Client: req.query("auth0-client")?.slice(0, 256),
auth0Client: req.query("auth0Client")?.slice(0, 256),
ip: req.header("x-real-ip")?.slice(0, 29),
useragent: req.header("user-agent")?.slice(0, 256),
};
Expand Down

0 comments on commit 81a530a

Please sign in to comment.