diff --git a/identeefi-frontend-react/src/components/pages/AddProduct.jsx b/identeefi-frontend-react/src/components/pages/AddProduct.jsx index 40e5676..bf7e76c 100644 --- a/identeefi-frontend-react/src/components/pages/AddProduct.jsx +++ b/identeefi-frontend-react/src/components/pages/AddProduct.jsx @@ -196,8 +196,8 @@ const AddProduct = () => { maxRedirects: 0, headers: { 'Content-Type': 'multipart/form-data', - pinata_api_key: 'fa2b19b73212285f0b63', - pinata_secret_api_key: '3eb7e681c6a2bf3ce1f032102cae6842a0a77dccde1afdc198dc375b3993e393' + pinata_api_key: '', + pinata_secret_api_key: '' } }); return `https://aquamarine-accessible-takin-121.mypinata.cloud/ipfs/${resFile.data.IpfsHash}`; @@ -215,8 +215,8 @@ const AddProduct = () => { const formData = new FormData(); formData.append('file', jsonBlob, 'metadata.json'); - const API_KEY = 'fa2b19b73212285f0b63'; - const API_SECRET = '3eb7e681c6a2bf3ce1f032102cae6842a0a77dccde1afdc198dc375b3993e393'; + const API_KEY = ''; + const API_SECRET = ''; const url = `https://api.pinata.cloud/pinning/pinFileToIPFS`; @@ -578,4 +578,4 @@ const AddProduct = () => { ); } -export default AddProduct; \ No newline at end of file +export default AddProduct;