Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo committed Oct 23, 2024
1 parent 594c484 commit ef383b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cloud-function/src/handlers/proxy-bsa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const plusLookup =
export async function proxyBSA(req: Request, res: Response) {
const countryCode = getRequestCountry(req);

const plusAvailable = countryCode in plusLookup;
const plusAvailable = countryCode in plusLookup.countryToCurrency;

const userAgent = req.headers["user-agent"] ?? "";

Expand Down
2 changes: 1 addition & 1 deletion cloud-function/src/handlers/proxy-kevel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const plusLookup =
export async function proxyKevel(req: Request, res: Response) {
const countryCode = getRequestCountry(req);

const plusAvailable = countryCode in plusLookup;
const plusAvailable = countryCode in plusLookup.countryToCurrency;

const userAgent = req.headers["user-agent"] ?? "";

Expand Down

0 comments on commit ef383b5

Please sign in to comment.