diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/api/routes/gifs/search.ts | 2 | ||||
-rw-r--r-- | src/api/routes/gifs/trending-gifs.ts | 2 | ||||
-rw-r--r-- | src/api/routes/gifs/trending.ts | 2 | ||||
-rw-r--r-- | src/util/util/AutoUpdate.ts | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/api/routes/gifs/search.ts b/src/api/routes/gifs/search.ts index f125a463..305a2a48 100644 --- a/src/api/routes/gifs/search.ts +++ b/src/api/routes/gifs/search.ts @@ -20,7 +20,7 @@ import { route } from "@spacebar/api"; import { TenorMediaTypes, getGifApiKey, parseGifResult } from "@spacebar/util"; import { Request, Response, Router } from "express"; import fetch from "node-fetch"; -import ProxyAgent from "proxy-agent"; +import { ProxyAgent } from "proxy-agent"; const router = Router(); diff --git a/src/api/routes/gifs/trending-gifs.ts b/src/api/routes/gifs/trending-gifs.ts index d6fa89ac..77a61efc 100644 --- a/src/api/routes/gifs/trending-gifs.ts +++ b/src/api/routes/gifs/trending-gifs.ts @@ -20,7 +20,7 @@ import { route } from "@spacebar/api"; import { TenorMediaTypes, getGifApiKey, parseGifResult } from "@spacebar/util"; import { Request, Response, Router } from "express"; import fetch from "node-fetch"; -import ProxyAgent from "proxy-agent"; +import { ProxyAgent } from "proxy-agent"; const router = Router(); diff --git a/src/api/routes/gifs/trending.ts b/src/api/routes/gifs/trending.ts index e3d6e974..fe726842 100644 --- a/src/api/routes/gifs/trending.ts +++ b/src/api/routes/gifs/trending.ts @@ -25,7 +25,7 @@ import { } from "@spacebar/util"; import { Request, Response, Router } from "express"; import fetch from "node-fetch"; -import ProxyAgent from "proxy-agent"; +import { ProxyAgent } from "proxy-agent"; const router = Router(); diff --git a/src/util/util/AutoUpdate.ts b/src/util/util/AutoUpdate.ts index 1f90a41e..2af5cf1c 100644 --- a/src/util/util/AutoUpdate.ts +++ b/src/util/util/AutoUpdate.ts @@ -18,7 +18,7 @@ import "missing-native-js-functions"; import fetch from "node-fetch"; -import ProxyAgent from "proxy-agent"; +import { ProxyAgent } from "proxy-agent"; import readline from "readline"; import fs from "fs/promises"; import path from "path"; |