diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-08-07 12:20:02 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-08-07 12:20:02 +1000 |
commit | 32c8211984c6947c64496e5f9178e6147caffe02 (patch) | |
tree | 9c62ea2ed65d1fcd78a3b824d0820040a40b58c4 /src/api/routes | |
parent | Merge branch 'master' of github.com:spacebarchat/server (diff) | |
download | server-32c8211984c6947c64496e5f9178e6147caffe02.tar.xz |
update proxy-agent
Diffstat (limited to 'src/api/routes')
-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 |
3 files changed, 3 insertions, 3 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(); |