List only prints the "data" key for unpublished tickets
This commit is contained in:
parent
5d7e67a553
commit
d87804b74a
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ func (c *Campaign) PrintList(publishedOnly, printLinks bool) {
|
||||||
}
|
}
|
||||||
fmt.Println(str)
|
fmt.Println(str)
|
||||||
} else if !publishedOnly {
|
} else if !publishedOnly {
|
||||||
b, _ := json.Marshal(t)
|
b, _ := json.Marshal(t.Data)
|
||||||
fmt.Printf("unpublished: %s\n", color.YellowString(string(b)))
|
fmt.Printf("unpublished: %s\n", color.YellowString(string(b)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue