summary refs log tree commit diff
path: root/src/api/routes/updates.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/updates.ts')
-rw-r--r--src/api/routes/updates.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/api/routes/updates.ts b/src/api/routes/updates.ts
index 42f77323..8fe6fc2a 100644
--- a/src/api/routes/updates.ts
+++ b/src/api/routes/updates.ts
@@ -7,13 +7,15 @@ const router = Router();
 router.get("/", route({}), async (req: Request, res: Response) => {
 	const { client } = Config.get();
 
-	const release = await Release.findOneOrFail({ where: { name: client.releases.upstreamVersion } });
+	const release = await Release.findOneOrFail({
+		where: { name: client.releases.upstreamVersion },
+	});
 
 	res.json({
 		name: release.name,
 		pub_date: release.pub_date,
 		url: release.url,
-		notes: release.notes
+		notes: release.notes,
 	});
 });