Skip to content

Commit

Permalink
fix: compat for the authentication header name
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanCassiere committed Jun 23, 2024
1 parent fb84c6b commit 627c38c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/server-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function parseSearchParams(url: string): Record<string, string | string[]
* Get the service ID from the request headers
*/
function getServiceId(c: Context): string | null {
const header = c.req.header("x-service-id");
const header = c.req.header("x-app-service-id");
return header ?? null;
}

Expand Down

0 comments on commit 627c38c

Please sign in to comment.