forgot to actually move the file

This commit is contained in:
Rory&
2026-09-30 14:19:15 +02:00
parent 06349fa3ce
commit 0eb6f04f6d
@@ -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");