mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-02 14:58:03 +08:00
Update pin.go
This commit was moved from ipfs/go-ipfs-http-client@31b4e60d96
This commit is contained in:
parent
c71a840bb8
commit
8f9306304e
@ -86,7 +86,7 @@ func (api *PinAPI) Update(ctx context.Context, from path.Path, to path.Path, opt
|
||||
return err
|
||||
}
|
||||
|
||||
return api.core().Request("pin/update").
|
||||
return api.core().Request("pin/update", from.String(), to.String()).
|
||||
Option("unpin", options.Unpin).Exec(ctx, nil)
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user