Skip to content

Commit

Permalink
pin cmd: fix incorect pin type for indirect pins
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMure committed Jul 11, 2019
1 parent 9b21269 commit 16b4d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/commands/pin.go
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ func pinLsAll(req *cmds.Request, typeStr string, n *core.IpfsNode, emit func(val
if r {
err := emit(&PinLsOutputWrapper{
PinLsObject: PinLsObject{
Type: typeStr,
Type: "indirect",
Cid: enc.Encode(c),
},
})
Expand Down

0 comments on commit 16b4d74

Please sign in to comment.