mirror of
https://github.com/spacebarchat/server.git
synced 2026-06-06 19:51:44 +00:00
🐛 fix avatars
This commit is contained in:
@@ -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}`,
|
||||
|
||||
Reference in New Issue
Block a user