Skip to content

Commit

Permalink
fix: end entry category not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
felixge committed Oct 4, 2015
1 parent 8d46e5c commit bcf0b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/hiro/cmds.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func endAt(d db.DB, entries []*db.Entry, t time.Time) error {
if err := d.SaveEntry(entry); err != nil {
return err
}
FprintEntry(os.Stdout, entry, categories.Path(entry.ID), PrintDefault)
FprintEntry(os.Stdout, entry, categories.Path(entry.CategoryID), PrintDefault)
}
return nil
}
Expand Down

0 comments on commit bcf0b97

Please sign in to comment.