summary refs log tree commit diff
path: root/src/api/routes
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-07 12:20:02 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-07 12:20:02 +1000
commit32c8211984c6947c64496e5f9178e6147caffe02 (patch)
tree9c62ea2ed65d1fcd78a3b824d0820040a40b58c4 /src/api/routes
parentMerge branch 'master' of github.com:spacebarchat/server (diff)
downloadserver-32c8211984c6947c64496e5f9178e6147caffe02.tar.xz
update proxy-agent
Diffstat (limited to 'src/api/routes')
-rw-r--r--src/api/routes/gifs/search.ts2
-rw-r--r--src/api/routes/gifs/trending-gifs.ts2
-rw-r--r--src/api/routes/gifs/trending.ts2
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();