Skip to content

Commit

Permalink
Merge pull request nationalparkservice#162 from RobLBaker/main
Browse files Browse the repository at this point in the history
Fixes set_project bug
  • Loading branch information
RobLBaker authored Oct 7, 2024
2 parents a89011f + 8f3dd92 commit 31eb81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/editEMLfunctions.R
Original file line number Diff line number Diff line change
Expand Up @@ -1575,7 +1575,7 @@ set_project <- function(eml_object,
#test whether user has ownership permissions for the project.
#only run this test if NPS is true and force is false:
if (NPS == TRUE && force == FALSE) {
email <- QCkit::get_user_email()
email <- QCkit:::get_user_email()
ownership <- rjson$permissions$referenceOwners

if (sum(grepl(email, ownership)) < 1) {
Expand Down

0 comments on commit 31eb81f

Please sign in to comment.