Very similiar to the blob upload action, but it was tough to extract some shared code easily.
Details
- Reviewers
kamil tomek ashoat - Commits
- rCOMMa946cc35496f: [lib] Add useMediaMetadataUpload hook
Tested together with the next diff
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Actually, something I'm confused about...
lib/actions/upload-actions.js | ||
---|---|---|
361–385 | I'm confused why we need the client to assign a holder here. Shouldn't the keyserver own the holder? Why can't the keyserver do this call? |
lib/actions/upload-actions.js | ||
---|---|---|
361–385 | It was done this way earlier in the blobServiceUpload above in this file. We have the following flow:
It was designed this way from the beginning to be more error-proof: Here in this function, we do only 1. and 3. | |
387 | I copied the comment from blobServiceUpload above and forgot to update it. |
lib/actions/upload-actions.js | ||
---|---|---|
361–385 | I'm more confused now unfortunately... Questions:
|
lib/actions/upload-actions.js | ||
---|---|---|
361–385 |
|