Skip to content

Commit

Permalink
reverse map cids
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMarstonConnell committed Aug 4, 2024
1 parent 17d7278 commit f0d3859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/ipfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func IPFSMapCids(f *file_system.FileSystem) func(http.ResponseWriter, *http.Requ

for cid, merkle := range cids {
merk := hex.EncodeToString(merkle)
m[cid] = merk
m[merk] = cid
}

f := types.CidMapResponse{
Expand Down

0 comments on commit f0d3859

Please sign in to comment.