Skip to content

Commit

Permalink
Merge pull request #75 from JackalLabs/marston/paginate-opens
Browse files Browse the repository at this point in the history
adding pagination fix
  • Loading branch information
dahn510 authored Oct 11, 2024
2 parents b6dc9f8 + b9d382f commit a382b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strays/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (s *StrayManager) RefreshList() error {
s.strays = append(s.strays, &newStray)
}

s.lastSize = res.Size()
s.lastSize = int(res.Pagination.Total)

return nil
}

0 comments on commit a382b14

Please sign in to comment.