summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpraschke <stel@comfy.monster>2023-08-17 14:19:41 +0100
committerpraschke <stel@comfy.monster>2023-08-17 14:19:41 +0100
commit07333a2807fc23875a3ffa34f97ea0ff1e44d3d6 (patch)
tree13a7a7f76d3ef980fe357216407d2dda94b2bedb
parent303c51be273392844022feb9400c9458d8dadf7a (diff)
remove broken fetch(1, 2)
this line serves no purpose. the commit it was introduced in has the message 'Document RequestBuilder' and is the only non-documentary line in the commit. related to #204.
-rw-r--r--ext/js/background/request-builder.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/js/background/request-builder.js b/ext/js/background/request-builder.js
index eca7d0d3..663e242b 100644
--- a/ext/js/background/request-builder.js
+++ b/ext/js/background/request-builder.js
@@ -54,7 +54,6 @@ class RequestBuilder {
* @returns {Promise<Response>} The response of the `fetch` call.
*/
async fetchAnonymous(url, init) {
- fetch(1, 2);
if (isObject(chrome.declarativeNetRequest)) {
return await this._fetchAnonymousDeclarative(url, init);
}