Update pin.go
This commit was moved from ipfs/go-ipfs-http-client@31b4e60d961ada25cb7b40317b18011b284436a7
Joel Gustafson committed
Dec 7, 2019 at 01:08 UTC
8f9306304efdc60147eccbb49380b83e3c7cb4ea
1 file changed
+1
-1
client/httpapi/pin.go
+1
-1
@@ -86,7 +86,7 @@ func (api *PinAPI) Update(ctx context.Context, from path.Path, to path.Path, opt
86
return err
87
}
88
89
- return api.core().Request("pin/update").
89
+ return api.core().Request("pin/update", from.String(), to.String()).
90
Option("unpin", options.Unpin).Exec(ctx, nil)
91
}
92