Skip to content

Commit

Permalink
#146 fix handling role
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed May 14, 2024
1 parent 2387e84 commit f2834c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ZenodoRecord.R
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ ZenodoRecord <- R6Class("ZenodoRecord",
stop(sprintf("The role type should be one value among values [%s]",
paste(private$allowed_role_types, collapse=",")))
}
personOrOrg$role = role
personOrOrg$role = list(id = role)
}

#affiliations
Expand Down

0 comments on commit f2834c1

Please sign in to comment.