Skip to content
This repository has been archived by the owner on Nov 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #319 from aaronrudkin/master
Browse files Browse the repository at this point in the history
Changed direct access of next_cursor attribute in get_friends_ return…
  • Loading branch information
mkearney authored May 1, 2019
2 parents c6381e6 + 9af028f commit 8d97b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/friends.R
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ get_friends_ <- function(users,
if (length(f[[i]][["ids"]]) == 0) {
f[[i]] <- tibble::as_tibble()
} else {
nextcursor <- f[["next_cursor"]]
nextcursor <- next_cursor(f)
f[[i]] <- tibble::as_tibble(
list(user = users[[i]], user_id = f[[i]][["ids"]]))
attr(f[[i]], "next_cursor") <- nextcursor
Expand Down

0 comments on commit 8d97b2f

Please sign in to comment.