diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-12 21:09:29 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-09-12 21:09:29 +0200 |
commit | d50073fc41fc7d69d3dab9a2858158320983329b (patch) | |
tree | c4507ebe83019292807f5a4cf10fc8a522334e2a /api/src/routes/voice | |
parent | Merge pull request #348 from AlTech98/fix-cdn-upload (diff) | |
download | server-d50073fc41fc7d69d3dab9a2858158320983329b.tar.xz |
:art: remove long relatives paths -> short module paths
Diffstat (limited to 'api/src/routes/voice')
-rw-r--r-- | api/src/routes/voice/regions.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/src/routes/voice/regions.ts b/api/src/routes/voice/regions.ts index 812aa8f6..da1aaade 100644 --- a/api/src/routes/voice/regions.ts +++ b/api/src/routes/voice/regions.ts @@ -1,11 +1,11 @@ import { Router, Request, Response } from "express"; -import {getIpAdress} from "../../util/ipAddress"; -import {getVoiceRegions} from "../../util/Voice"; +import { getIpAdress } from "@fosscord/api"; +import { getVoiceRegions } from "@fosscord/api"; const router: Router = Router(); router.get("/", async (req: Request, res: Response) => { - res.json(await getVoiceRegions(getIpAdress(req), true))//vip true? + res.json(await getVoiceRegions(getIpAdress(req), true)); //vip true? }); export default router; |