mirror of
https://github.com/spacebarchat/server.git
synced 2026-12-05 13:24:10 +00:00
forgot to actually move the file
This commit is contained in:
1 parent
06349fa3ce
commit
0eb6f04f6d
1 file changed
+3
@@ -85,6 +85,9 @@ router.post(
|
||||
webhook.avatar = hash;
|
||||
await webhook.save();
|
||||
}
|
||||
|
||||
res.write(" Moving file...");
|
||||
await storage.move(`avatars/${user_id}/${dirEnt}`, `avatars/${user_id}/${hash}`);
|
||||
}
|
||||
|
||||
res.write("\n");
|
||||
|
||||
Reference in new issue
Block a user