Skip to content

Commit

Permalink
adding pagination fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMarstonConnell committed Oct 11, 2024
1 parent b6dc9f8 commit b9d382f
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 b9d382f

Please sign in to comment.