Skip to content

Commit

Permalink
Fix: previous big map diffs (#798)
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky authored Jan 10, 2022
1 parent 4721653 commit 658315e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/postgres/bigmapdiff/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (storage *Storage) Previous(filters []bigmapdiff.BigMapDiff) (response []bi
query.Where("id < ?", lastID)
}

query.Group("key_hash,ptr")
query.GroupExpr("key_hash,ptr")

err = storage.DB.Model().Table(models.DocBigMapDiff).
Where("id IN (?)", query).
Expand Down

0 comments on commit 658315e

Please sign in to comment.