diff --git a/package.json b/package.json index 8b04e57..077e5bc 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,6 @@ "private": true, "scripts": { "dev": "ts-node --project tsconfig.server.json server.ts", - "upload-image": "ts-node --project tsconfig.server.json upload-image-to-pinata.ts", "build": "next build", "start": "tsc --project tsconfig.server.json && NODE_ENV=production PORT=80 node dist/server.js", "lint": "next lint" diff --git a/src/utils/uploadToPinata.ts b/src/utils/uploadToPinata.ts index 9a5ca21..5e89469 100644 --- a/src/utils/uploadToPinata.ts +++ b/src/utils/uploadToPinata.ts @@ -16,14 +16,11 @@ export async function uploadToPinata(imageUrl: string): Promise