Skip to content

Commit

Permalink
minor knit
Browse files Browse the repository at this point in the history
  • Loading branch information
thi4go committed Apr 28, 2020
1 parent 670730c commit 7722052
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions politeiawww/cmd/cmswww/tokeninventory.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
package main

import (
"fmt"

v1 "github.com/decred/politeia/politeiawww/api/cms/v1"
"github.com/decred/politeia/politeiawww/cmd/shared"
)
Expand All @@ -27,7 +25,7 @@ func (cmd *InvoiceTokenInventoryCmd) Execute(args []string) error {
if err != nil {
return err
}
fmt.Println("Execute - invoice token inventory command from client")

return shared.PrintJSON(reply)
}

Expand Down
2 changes: 1 addition & 1 deletion politeiawww/invoices.go
Original file line number Diff line number Diff line change
Expand Up @@ -1753,7 +1753,7 @@ func (p *politeiawww) processInvoiceTokenInventory(iti cms.InvoiceTokenInventory
}
}

// Setup invoice token inventory reply
// Setup reply
itir := cms.InvoiceTokenInventoryReply{
Unreviewed: unreviewed,
Updated: updated,
Expand Down

0 comments on commit 7722052

Please sign in to comment.