feat: menambahkan manajemen akun mentor oleh admin

This commit is contained in:
Muhammad Zhafran Ilham
2026-06-25 22:58:04 +07:00
parent 6a1a3c1a97
commit e8a7521bb0
7 changed files with 881 additions and 3 deletions
@@ -0,0 +1,9 @@
const cleanupUploadedFile = (file) => {
if (file?.path && fs.existsSync(file.path)) {
fs.unlinkSync(file.path);
}
};
module.exports = {
cleanupUploadedFile,
};