Skip to content

Commit b8cbf9a

Browse files
committed
moved the add pk
1 parent 152fe14 commit b8cbf9a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

R/search-pv.R

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,6 @@ search_pv <- function(query,
327327
query <- jsonlite::toJSON(query, auto_unbox = TRUE)
328328
}
329329

330-
pk <- get_ok_pk(endpoint)
331-
# We need pk to be in the result for all_pages to work with ease, hence adding
332-
# it below
333-
fields <- unique(c(pk, fields))
334330
abbreviated_fields <- sub_grp_names_for_fields(endpoint, fields)
335331

336332
arg_list <- to_arglist(abbreviated_fields, size, sort, after)

0 commit comments

Comments
 (0)