From f06dfdeec5d983370c84be9cf3bc194dcfc97639 Mon Sep 17 00:00:00 2001 From: Irakli Gozalishvili Date: Mon, 25 Mar 2024 22:51:12 -0700 Subject: [PATCH] feat: remove issuer field from row --- packages/upload-api/src/store/add.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/upload-api/src/store/add.js b/packages/upload-api/src/store/add.js index 07e482dda..76a2dbeba 100644 --- a/packages/upload-api/src/store/add.js +++ b/packages/upload-api/src/store/add.js @@ -23,7 +23,7 @@ export function storeAddProvider(context) { const space = /** @type {import('@ucanto/interface').DIDKey} */ ( Server.DID.parse(capability.with).did() ) - const issuer = invocation.issuer.did() + const [allocated, carExists] = await Promise.all([ allocate( { @@ -47,7 +47,6 @@ export function storeAddProvider(context) { link, size, origin, - issuer, invocation: invocation.cid, }) if (res.error) {