Skip to content

Commit

Permalink
Fix bug returning more records than requested
Browse files Browse the repository at this point in the history
  • Loading branch information
wkmor1 committed Apr 23, 2024
1 parent c936bcb commit 07898f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/finbif_records.R
Original file line number Diff line number Diff line change
Expand Up @@ -929,9 +929,9 @@ get_extra_pages <- function(fb_records_list) {

records_i <- value(res)

if (length(records_i) > current_page_size) {
results <- c("content", "results")

results <- c("content", "results")
if (length(records_i[[results]]) > current_page_size) {

results_seq <- seq_len(current_page_size)

Expand Down

0 comments on commit 07898f2

Please sign in to comment.