remove unused code

This commit is contained in:
Matt Walsh
2022-12-14 08:31:48 -06:00
parent 4f3fd04c5c
commit 3078ae6ba1
7 changed files with 9192 additions and 9300 deletions

View File

@@ -2,7 +2,6 @@ import { rewriteUrl } from './cors.mjs';
const json = (url, params) => fetchAsync(url, 'json', params);
const text = (url, params) => fetchAsync(url, 'text', params);
const raw = (url, params) => fetchAsync(url, '', params);
const blob = (url, params) => fetchAsync(url, 'blob', params);
const fetchAsync = async (_url, responseType, _params = {}) => {
@@ -96,6 +95,5 @@ const retryDelay = (retryNumber) => {
export {
json,
text,
raw,
blob,
};