connectapi
connectapi copied to clipboard
Update `set_environment_new()` function to use content `guid`
Currently set_environment_new()
function takes an R6 class environment
to update an environment variable on a particular piece of content. For ease of use, the input argument should be content guid
and the function should generate the environment
object as needed. The current behaviour adds an additional step to create an environment class object first, and it also does not match the behaviour of get_environment()
function which takes content guid
as input.