Skip to content

Commit

Permalink
chore: fix variable
Browse files Browse the repository at this point in the history
  • Loading branch information
GalvinGao committed Nov 23, 2023
1 parent ca04a9e commit 3c15676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/repo/drop_report_extra.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func (r *DropReportExtra) GetDropReportExtraById(ctx context.Context, id int) (*
func (c *DropReportExtra) GetDropReportExtraForArchive(ctx context.Context, cursor *model.Cursor, idInclusiveStart int, idInclusiveEnd int, limit int) ([]*model.DropReportExtra, model.Cursor, error) {
dropReportExtras := make([]*model.DropReportExtra, 0)

query := c.DB.NewSelect().
query := c.db.NewSelect().
Model(&dropReportExtras).
Where("report_id >= ?", idInclusiveStart).
Where("report_id <= ?", idInclusiveEnd).
Expand Down

0 comments on commit 3c15676

Please sign in to comment.