update: delete path sollution
This commit is contained in:
@@ -32,8 +32,7 @@ const uploadFile = async (req, res) => {
|
|||||||
const response = await setResponse(
|
const response = await setResponse(
|
||||||
{
|
{
|
||||||
file_upload_name: file.originalname,
|
file_upload_name: file.originalname,
|
||||||
path_document: pathDocument,
|
path_document: pathDocument
|
||||||
path_solution: pathDocument
|
|
||||||
},
|
},
|
||||||
"File berhasil diunggah"
|
"File berhasil diunggah"
|
||||||
);
|
);
|
||||||
@@ -45,8 +44,6 @@ const uploadFile = async (req, res) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const getFileByPath = async (req, res) => {
|
const getFileByPath = async (req, res) => {
|
||||||
try {
|
try {
|
||||||
const { folder, filename } = req.params;
|
const { folder, filename } = req.params;
|
||||||
|
|||||||
Reference in New Issue
Block a user