forgot to actually move the file

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