Skip to content

Commit

Permalink
replacing to_content with content. to_content isn't defined
Browse files Browse the repository at this point in the history
  • Loading branch information
cormach committed Aug 1, 2023
1 parent 427ac1f commit ad36957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/content.R
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ content_ensure <- function(connect, name = uuid::UUIDgenerate(), title = name, g
content <- connect$get_apps(list(name = name))
if (length(content) > 1) {
stop(glue::glue(
"Found {length(to_content)} content items ",
"Found {length(content)} content items ",
"matching {name} on {connect$server}",
", content must have a unique name."
))
Expand Down

0 comments on commit ad36957

Please sign in to comment.