snapshot-labs / pineapple

https://pineapple.fyi
MIT License
18 stars 10 forks source link

fix: fix wrong cache key when caching json on pin #184

Closed wa0x6e closed 1 year ago

wa0x6e commented 1 year ago

This PR fix the wrong cache key, when trying to cache the JSON at the same time as pinning

The /ipfs/ID endpoint is looking for a cache in the /cache folder, and expecting a key hashed with sha256