Finalize inbox artifacts and error protocol
This commit is contained in:
@@ -49,6 +49,9 @@ func newListCmd(root *rootOptions) *cobra.Command {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if len(threads) == 0 {
|
||||
return protocol.NoMatchingWork("no matching work")
|
||||
}
|
||||
|
||||
resp := protocol.Success{
|
||||
OK: true,
|
||||
|
||||
Reference in New Issue
Block a user