Refactor 'uploadFromUrl' to base storage implementation

Add safety around using fetch implementation
This commit is contained in:
Tom Moor
2023-08-20 13:13:17 -04:00
parent 74722b80f2
commit 5c07694f6b
13 changed files with 70 additions and 66 deletions

View File

@@ -1,6 +1,6 @@
import fetch from "fetch-with-proxy";
import Logger from "@server/logging/Logger";
import { AuthenticationError, InvalidRequestError } from "../errors";
import fetch from "./fetch";
export default abstract class OAuthClient {
private clientId: string;