Skip to content

Commit

Permalink
fix(SR-test-data): switch to file-level CID values
Browse files Browse the repository at this point in the history
By default web3.storage provides CID value that points to a wrapped
parent folder. This leads to corrupt file download.
Fix is to extract the correct file-level CID from the download URL.

For more details see:
https://web3.storage/docs/how-tos/troubleshooting/#the-cid-returned-when-uploading-doesnt-link-directly-to-my-file
  • Loading branch information
jadh4v committed Sep 28, 2022
1 parent 2fcf0cc commit 76cf561
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/Input/104.1-SR-printed-to-pdf.dcm.cid
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bafybeicotyose3ijwdrfg756zywr3swu6r37672z55iuofnavmbr2k65gi
bafkreig3blddcxtvuv4a7qjtvvfrcgm5ubskm7ik3mlopnyzyoncasrgyq
2 changes: 1 addition & 1 deletion test/Input/88.67-radiation-dose-SR.dcm.cid
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bafybeidg3iito3z6dtpgwfuufgj4cgm2pte6f6gdbcvwlzs5fq35okzz4i
bafkreicdondblix2h5meriyvrqvrtdkxmxpbsqjlgm6s2psz53l435zvsu

0 comments on commit 76cf561

Please sign in to comment.