Trying to get an existing user by id.
user_service = BaseUser(...)
user = user_service.get_users({id: submission['userid']})
This fails with:
moodle.exception.MoodleException: Ungültiger Parameterwert
How should the parameters be formatted for the get_users function?
Kudos for this nice project btw, very helpful in working with the cumbersome moodle api.
Trying to get an existing user by id.
This fails with:
moodle.exception.MoodleException: Ungültiger ParameterwertHow should the parameters be formatted for the get_users function?
Kudos for this nice project btw, very helpful in working with the cumbersome moodle api.