Skip to content

Commit

Permalink
Update get-final-url.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Oct 5, 2024
1 parent 912894f commit 7695afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/lib/middleware/utils/get-final-url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const getFinalUrlForRecordClick = ({
req: Request;
url: string;
}) => {
const searchParams = new URL(url).searchParams;
const searchParams = new URL(req.url).searchParams;
const urlObj = new URL(url);

// Filter out query params that are not in the allowed list
Expand Down

0 comments on commit 7695afb

Please sign in to comment.