Skip to content

Commit

Permalink
chore: use raw keys for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Ogbonna committed Jan 6, 2025
1 parent 8a7cfd9 commit 222b9cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app/api/upload-json/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/utils/upload-json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
}
);
Expand Down

0 comments on commit 222b9cd

Please sign in to comment.