mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 03:47:45 +08:00
pin ls returns the appropriate zero value if no pins are found.
This commit is contained in:
parent
b347695610
commit
f1cd629e2b
@ -403,7 +403,7 @@ type PinLsOutputWrapper struct {
|
||||
|
||||
// PinLsList is a set of pins with their type
|
||||
type PinLsList struct {
|
||||
Keys map[string]PinLsType `json:",omitempty"`
|
||||
Keys map[string]PinLsType
|
||||
}
|
||||
|
||||
// PinLsType contains the type of a pin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user