Skip to content

Commit

Permalink
chore: remove debugging (#2595)
Browse files Browse the repository at this point in the history
  • Loading branch information
travis authored Apr 17, 2024
1 parent de5582e commit 3dc7916
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/api/src/utils/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions packages/api/src/utils/w3up.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3dc7916

Please sign in to comment.