feat: menambahkan manajemen akun mentor oleh admin
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
const cleanupUploadedFile = (file) => {
|
||||
if (file?.path && fs.existsSync(file.path)) {
|
||||
fs.unlinkSync(file.path);
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
cleanupUploadedFile,
|
||||
};
|
||||
Reference in New Issue
Block a user