summary refs log tree commit diff
path: root/src/api/routes/downloads.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/downloads.ts')
-rw-r--r--src/api/routes/downloads.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/api/routes/downloads.ts b/src/api/routes/downloads.ts
index 44530353..c86c1fb0 100644
--- a/src/api/routes/downloads.ts
+++ b/src/api/routes/downloads.ts
@@ -1,6 +1,6 @@
-import { Router, Response, Request } from "express";
+import { Config, Release } from "@fosscord/util";
+import { Request, Response, Router } from "express";
 import { route } from "..";
-import { Release, Config } from "@fosscord/util";
 
 const router = Router();
 
@@ -10,7 +10,7 @@ router.get("/:branch", route({}), async (req: Request, res: Response) => {
 	const { platform } = req.query;
 	//TODO
 
-	if(!platform || !["linux", "osx", "win"].includes(platform.toString())) return res.status(404)
+	if (!platform || !["linux", "osx", "win"].includes(platform.toString())) return res.status(404);
 
 	const release = await Release.findOneOrFail({ where: { name: client.releases.upstreamVersion } });