update: delete path sollution

This commit is contained in:
2025-12-03 16:15:18 +07:00
parent 1ec69b388d
commit cecb88b838

View File

@@ -32,8 +32,7 @@ const uploadFile = async (req, res) => {
const response = await setResponse(
{
file_upload_name: file.originalname,
path_document: pathDocument,
path_solution: pathDocument
path_document: pathDocument
},
"File berhasil diunggah"
);
@@ -45,8 +44,6 @@ const uploadFile = async (req, res) => {
};
const getFileByPath = async (req, res) => {
try {
const { folder, filename } = req.params;