Page MenuHomePhabricator

[keyserver] Add a function that deletes a blob
ClosedPublic

Authored by tomek on Nov 24 2023, 6:48 AM.
Tags
None
Referenced Files
F1797721: D9966.diff
Sun, May 19, 11:28 PM
Unknown Object (File)
Thu, May 16, 12:18 AM
Unknown Object (File)
Tue, May 14, 5:32 PM
Unknown Object (File)
Thu, May 2, 10:09 PM
Unknown Object (File)
Wed, May 1, 3:47 PM
Unknown Object (File)
Tue, Apr 30, 8:28 PM
Unknown Object (File)
Sun, Apr 28, 4:06 PM
Unknown Object (File)
Fri, Apr 26, 6:55 AM
Subscribers

Details

Summary

This function calls an endpoint of Blob service that deletes a blob.

Depends on D9944

Test Plan

Create a blob and delete it - check if a holder is deleted.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek requested review of this revision.Nov 24 2023, 7:08 AM
This revision is now accepted and ready to land.Nov 24 2023, 10:42 AM

Use a param object instead of two args for hash and holder to avoid the confusion between them

Destructure params inside function

bartek added inline comments.
keyserver/src/services/blob.js
103–105

Before landing, could you update this diff to use the function from D10908?

Use auth headers

keyserver/src/services/blob.js
103–105

Sure!