pin cmd: fix incorect pin type for indirect pins
Michael Muré committed
Jul 11, 2019 at 14:34 UTC
16b4d74d3b372f9a404ab4c92fa4c81dd8449d39
1 file changed
+1
-1
core/commands/pin.go
+1
-1
@@ -508,7 +508,7 @@ func pinLsAll(req *cmds.Request, typeStr string, n *core.IpfsNode, emit func(val
508
if r {
509
err := emit(&PinLsOutputWrapper{
510
PinLsObject: PinLsObject{
511
- Type: typeStr,
511
+ Type: "indirect",
512
Cid: enc.Encode(c),
513
},
514
})