Skip to content

Commit d455a15

Browse files
Update src/app/(collect)/p/[slug]/route.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 920b81d commit d455a15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/(collect)/p/[slug]/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export async function GET(request: Request, { params }: { params: Promise<{ slug
4848
payload: {
4949
pixel: pixel.id,
5050
url: request.url,
51-
...(referer && { referer }), // avoid referrer is not a string
51+
...(referer && { referrer: referer }), // avoid referrer is not a string
5252
},
5353
};
5454

0 commit comments

Comments
 (0)