Removed PassAll from ChangeFilter and fixed sort not being descending order.
the build was successful

This commit is contained in:
2019-06-16 11:46:23 +02:00
parent f6ad0602c2
commit e194b6536e
3 changed files with 2 additions and 8 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ func main() {
}
func logListedChanges(changes *services.ChangeService) {
sub := changes.Subscribe(context.Background(), models.ChangeFilter{PassAll: true})
sub := changes.Subscribe(context.Background(), models.ChangeFilter{})
for change := range sub {
log.Printf("Change: Author=%#+v Model=%#+v Op=%#+v", change.Author, change.Model, change.Op)