From 3dc7916eb7833b5a267624e07783c05494be5f2f Mon Sep 17 00:00:00 2001 From: Travis Vachon Date: Wed, 17 Apr 2024 15:29:05 -0700 Subject: [PATCH] chore: remove debugging (#2595) --- packages/api/src/utils/context.js | 1 - packages/api/src/utils/w3up.js | 4 ---- 2 files changed, 5 deletions(-) diff --git a/packages/api/src/utils/context.js b/packages/api/src/utils/context.js index 17aa156114..e387bf4240 100644 --- a/packages/api/src/utils/context.js +++ b/packages/api/src/utils/context.js @@ -88,7 +88,6 @@ export async function getContext(event, params) { principal: config.W3_NFTSTORAGE_PRINCIPAL, proof: config.W3_NFTSTORAGE_PROOF, }) - console.log('CONFIGGED SPACE', config.W3_NFTSTORAGE_SPACE) // @ts-expect-error todo add DID check w3upWIP.setCurrentSpace(config.W3_NFTSTORAGE_SPACE) w3up = w3upWIP diff --git a/packages/api/src/utils/w3up.js b/packages/api/src/utils/w3up.js index e811d38d5c..af9df6b6e1 100644 --- a/packages/api/src/utils/w3up.js +++ b/packages/api/src/utils/w3up.js @@ -161,10 +161,6 @@ export async function getW3upDeals(client, contentClaimsClient, contentCid) { // get the upload let upload try { - console.log( - 'getting upload from current space', - client.currentSpace()?.did() - ) upload = await client.capability.upload.get(link) } catch (/** @type {any} */ e) { console.error('error getting upload', e, e?.cause)