From 83d72274f8bb6baa26600e3330390c85de4dea9a Mon Sep 17 00:00:00 2001 From: SpacingBat3 Date: Sun, 28 Jan 2024 01:35:29 +0100 Subject: [PATCH] Cosmetic code changes. --- sources/code/common/modules/urlTrack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/code/common/modules/urlTrack.ts b/sources/code/common/modules/urlTrack.ts index eb6ea28d..1349b49b 100644 --- a/sources/code/common/modules/urlTrack.ts +++ b/sources/code/common/modules/urlTrack.ts @@ -6,7 +6,7 @@ export default function removeTrackingFromURIs(url:URL|string) { switch(urlObj.hostname) { case "cdn.discordapp.com": for(const el of [...urlObj.searchParams]) - urlObj.searchParams.delete(el[0],el[1]); + urlObj.searchParams.delete(...el); break; } return urlObj;