diff --git a/backend/httpipfs/pin.go b/backend/httpipfs/pin.go index 74c7dec..65d78b8 100644 --- a/backend/httpipfs/pin.go +++ b/backend/httpipfs/pin.go @@ -13,7 +13,7 @@ import ( // IsPinned returns true when `hash` is pinned in some way. func (nd *Node) IsPinned(hash h.Hash) (bool, error) { ctx := context.Background() - resp, err := nd.sh.Request("pin/ls", hash.B58String()).Send(ctx) + resp, err := nd.sh.Request("pin/ls", hash.B58String()).Option("type", "recursive").Send(ctx) if err != nil { return false, err }