From 341e9663185216e4e609b6a2b6ef8720f187b07f Mon Sep 17 00:00:00 2001 From: NovemLinguae Date: Fri, 12 Jul 2024 16:07:20 -0700 Subject: [PATCH] BlockedUserHistory: refactor --- BlockedUserHistory.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/BlockedUserHistory.js b/BlockedUserHistory.js index 0c0084d..356afa8 100644 --- a/BlockedUserHistory.js +++ b/BlockedUserHistory.js @@ -66,12 +66,9 @@ class BlockedUserHistory { */ setUriParameters( url, paramsToChange ) { const urlObj = new URL( url ); - - // Update query parameters based on the paramsToChange object for ( const key in paramsToChange ) { urlObj.searchParams.set( key, paramsToChange[ key ] ); } - return urlObj.toString(); }