summary refs log tree commit diff
path: root/api/src/routes/updates.ts
diff options
context:
space:
mode:
Diffstat (limited to 'api/src/routes/updates.ts')
-rw-r--r--api/src/routes/updates.ts20
1 files changed, 0 insertions, 20 deletions
diff --git a/api/src/routes/updates.ts b/api/src/routes/updates.ts
deleted file mode 100644
index cb4577c8..00000000
--- a/api/src/routes/updates.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import { Router, Response, Request } from "express";
-import { route } from "@fosscord/api";
-import { Config, Release } from "@fosscord/util";
-
-const router = Router();
-
-router.get("/", route({}), async (req: Request, res: Response) => {
-	const { client } = Config.get();
-
-    const release = await Release.findOneOrFail({ name: client.releases.upstreamVersion})
-
-	res.json({
-        name: release.name,
-        pub_date: release.pub_date,
-        url: release.url,
-        notes: release.notes
-    });
-});
-
-export default router;