summary refs log tree commit diff
path: root/src/cdn/routes/avatars.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/cdn/routes/avatars.ts')
-rw-r--r--src/cdn/routes/avatars.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cdn/routes/avatars.ts b/src/cdn/routes/avatars.ts
index e5e25a4c..50a76d4b 100644
--- a/src/cdn/routes/avatars.ts
+++ b/src/cdn/routes/avatars.ts
@@ -55,7 +55,7 @@ router.post(
 			size,
 			url: `${endpoint}${req.baseUrl}/${user_id}/${hash}`,
 		});
-	}
+	},
 );
 
 router.get("/:user_id", async (req: Request, res: Response) => {
@@ -86,7 +86,7 @@ export const getAvatar = async (req: Request, res: Response) => {
 	res.set("Cache-Control", "public, max-age=31536000");
 
 	return res.send(file);
-}
+};
 
 router.get("/:user_id/:hash", getAvatar);