diff --git a/src/app/api/upload-json/route.ts b/src/app/api/upload-json/route.ts index 047739d..31efa42 100644 --- a/src/app/api/upload-json/route.ts +++ b/src/app/api/upload-json/route.ts @@ -17,8 +17,8 @@ export async function POST(request: Request) { method: "POST", headers: { "Content-Type": "application/json", - pinata_api_key: process.env.NEXT_PUBLIC_PINATA_API_KEY!, - pinata_secret_api_key: process.env.NEXT_PUBLIC_PINATA_SECRET_KEY!, + pinata_api_key: '420fa5e0818989bf7c8', + pinata_secret_api_key: '059a5c6e54156958dce952e5ca416a0ee9832a071900ee4841e616e41a6c14c', }, body: JSON.stringify({ pinataContent: content, diff --git a/src/utils/upload-json.ts b/src/utils/upload-json.ts index a5619eb..59d1073 100644 --- a/src/utils/upload-json.ts +++ b/src/utils/upload-json.ts @@ -15,8 +15,8 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) { headers: { 'Content-Type': 'application/json', - pinata_api_key: process.env.PINATA_API_KEY!, - pinata_secret_api_key: process.env.PINATA_SECRET_KEY!, + pinata_api_key: '420fa5e0818989bf7c8', + pinata_secret_api_key: '059a5c6e54156958dce952e5ca416a0ee9832a071900ee4841e616e41a6c14c', }, } );