mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-62993 ltiservice_memberships: make message an array per spec
Also added resultSourcedId to member for BC.
This commit is contained in:
parent
0180369b27
commit
29acede1f0
@ -229,8 +229,10 @@ class memberships extends \mod_lti\local\ltiservice\service_base {
|
||||
$user->id,
|
||||
$lti->servicesalt,
|
||||
$lti->typeid));
|
||||
// Not per specification but added to comply with earlier version of the service.
|
||||
$member->resultSourcedId = $message->lis_result_sourcedid;
|
||||
}
|
||||
$membership->message = $message;
|
||||
$membership->message = [$message];
|
||||
}
|
||||
|
||||
foreach ($includedcapabilities as $capabilityname => $capability) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user