🚑 hotfix: critical fix for signup process
All checks were successful
Integration Tests / integration-tests (pull_request) Successful in 29s
All checks were successful
Integration Tests / integration-tests (pull_request) Successful in 29s
This commit is contained in:
@ -13,12 +13,10 @@ export interface ClientInfoHeader {
|
||||
export const getUserHeaderInformation = (
|
||||
ctx: Context,
|
||||
): UserHeaderInformation => {
|
||||
const clientInfoHeader = JSON.parse(
|
||||
(ctx.request.headers.get("x-client-info") as string) ??
|
||||
("unknown" as string),
|
||||
) as ClientInfoHeader;
|
||||
|
||||
console.log("Client Info Header:", clientInfoHeader);
|
||||
const clientInfoHeader =
|
||||
(JSON.parse(
|
||||
ctx.request.headers.get("x-client-info") as string,
|
||||
) as ClientInfoHeader) ?? ("unknown" as string);
|
||||
|
||||
const userHeaderInformation = {
|
||||
ip: clientInfoHeader.ip ?? "unknown",
|
||||
|
||||
Reference in New Issue
Block a user