changed sample file location

This commit is contained in:
unknown 2025-12-01 16:43:37 +05:30
parent ee5214e559
commit ad0490ef53
2 changed files with 2 additions and 1 deletions

View File

@ -269,7 +269,7 @@ exports.deleteProduct = async (req, res) => {
exports.downloadProductSample = async (req, res) => {
try {
const filePath = path.join(__dirname, "../writable/uploads/products_upload_sample.csv");
const filePath = path.join(__dirname, "../uploads/products_upload_sample.csv");
return res.download(filePath, "products_upload_sample.csv");
} catch (error) {
return res.status(500).send({ status: "failed", message: error.message });

View File

@ -0,0 +1 @@
HS Code,Product Name,Unit
1 HS Code Product Name Unit