I am trying to set media to approved after updating the media in a moderated forum, but the code is not working. Here's the code:
#if (!$media.IsApproved) #set($mediaResponse = $core_v2_media.Update($galleryId, $mediaId, "%{ IsApproved = true }")) #end
...or is this a permissions issue, in which case I would need to use an automation as in the one in this post?