Skip to content

Commit

Permalink
fix: apss space to location claim
Browse files Browse the repository at this point in the history
  • Loading branch information
alanshaw committed Nov 28, 2024
1 parent ddd32a9 commit 496bf6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/upload-api/src/blob/accept.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function blobAcceptProvider(context) {
})

// Publish this claim to the content claims service
const pubClaim = await publishLocationClaim(context, { digest, location: createUrl.ok })
const pubClaim = await publishLocationClaim(context, { space, digest, location: createUrl.ok })
if (pubClaim.error) {
return pubClaim
}
Expand Down Expand Up @@ -146,7 +146,7 @@ export const poll = async (context, receipt) => {

/**
* @param {API.ClaimsClientContext} ctx
* @param {{ digest: API.MultihashDigest, location: API.URI }} params
* @param {{ space: API.SpaceDID, digest: API.MultihashDigest, location: API.URI }} params
*/
const publishLocationClaim = async (ctx, { digest, location }) => {
const { invocationConfig, connection } = ctx.claimsService
Expand Down

0 comments on commit 496bf6a

Please sign in to comment.