I have an event event that, when triggered, causes my observer to mark some student's activity as completed.
When I manually trigger the event as a student (such as from a module's view.php), it works as expected.
When the webservice triggers the event, nothing happens. I think maybe my observer is not being invoked at all, because if I throw an exception in my observer, the webservice does not report an error to me.
I'm super new to Moodle, and unfortunately I know more about it now than those at my company who have helped me get to this point. Can anyone help me?
Moodle 3.5