summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/routes/avatars.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/avatars.ts b/src/routes/avatars.ts

index 3d99fb86..60befe2c 100644 --- a/src/routes/avatars.ts +++ b/src/routes/avatars.ts
@@ -36,7 +36,7 @@ router.post("/:user_id", multer.single("file"), async (req: Request, res: Respon await storage.set(path, buffer); return res.json({ - hash, + id: hash, content_type: type.mime, size, url: `${endpoint}${req.baseUrl}/${user_id}/${hash}`,