Skip to content

Commit

Permalink
Fix pkgdown vignette rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
nealrichardson committed Apr 16, 2024
1 parent 4f394d5 commit 99029cc
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 @@ -910,7 +910,7 @@ content_delete_group <- function(content, guid) {

.get_permission <- function(content, type, guid, add_owner = TRUE) {
res <- content$permissions(add_owner = add_owner)
purrr::keep(res, ~ .x$principal_type == type && .x$principal_guid == guid)
purrr::keep(res, ~ identical(.x$principal_type, type) && identical(.x$principal_guid, guid))
}

#' @rdname permissions
Expand Down

0 comments on commit 99029cc

Please sign in to comment.