Skip to content

Commit 16b4d74

Browse files
committed
pin cmd: fix incorect pin type for indirect pins
1 parent 9b21269 commit 16b4d74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/commands/pin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ func pinLsAll(req *cmds.Request, typeStr string, n *core.IpfsNode, emit func(val
508508
if r {
509509
err := emit(&PinLsOutputWrapper{
510510
PinLsObject: PinLsObject{
511-
Type: typeStr,
511+
Type: "indirect",
512512
Cid: enc.Encode(c),
513513
},
514514
})

0 commit comments

Comments
 (0)