Skip to content

Commit f3ceab7

Browse files
committed
fixes #156
1 parent 388bc39 commit f3ceab7

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

R/get_all_channel_video_stats.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ get_all_channel_video_stats <- function(channel_id = NULL, mine = FALSE, ...) {
3434

3535
# Get channel resources with proper error handling
3636
channel_resources <- tryCatch({
37-
list_channel_resources(filter = c(channel_id = channel_id), part = "contentDetails", ...)
37+
list_channel_resources(filter = c(channel_id = channel_id), part = "contentDetails", simplify = FALSE, ...)
3838
}, error = function(e) {
3939
abort("Failed to get channel information",
4040
channel_id = channel_id,

man/get_channel_stats.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/get_video_details.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/read_sbv.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/test-integration-ready.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ test_that("list_channel_resources works", {
3131
result <- list_channel_resources(
3232
filter = c(channel_id = "UC_x5XG1OV2P6uZZ5FSM9Ttw"),
3333
part = "snippet",
34+
simplify = FALSE,
3435
auth = "key"
3536
)
3637

0 commit comments

Comments
 (0)