From 58bb24dbdc3beaf1f9946be49695fe09aa8a4aba Mon Sep 17 00:00:00 2001 From: Anurag99778 <138089599+Anurag99778@users.noreply.github.com> Date: Sun, 16 Jun 2024 16:14:01 +0530 Subject: [PATCH] Update uploadFile.js --- client/src/helpers/uploadFile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/helpers/uploadFile.js b/client/src/helpers/uploadFile.js index 5ed02c8..4c16b33 100644 --- a/client/src/helpers/uploadFile.js +++ b/client/src/helpers/uploadFile.js @@ -1,5 +1,5 @@ const url = `https://api.cloudinary.com/v1_1/${process.env.REACT_APP_CLOUDINARY_CLOUD_NAME}/auto/upload` - +console.log("process.env.REACT_APP_CLOUDINARY_CLOUD_NAME",process.env.REACT_APP_CLOUDINARY_CLOUD_NAME); const uploadFile = async(file)=>{ const formData = new FormData() formData.append('file',file) @@ -15,4 +15,4 @@ const uploadFile = async(file)=>{ return responseData } -export default uploadFile \ No newline at end of file +export default uploadFile