Skip to content

Commit

Permalink
xAPI generated assertion ID is now combination of xAPI statement ID a…
Browse files Browse the repository at this point in the history
…nd aligned competency URL.
  • Loading branch information
Lomilar committed Jan 29, 2020
1 parent 3a72205 commit 36c9b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/c-adapter/xapi/xapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ var xapiStatement = function (s) {
var alreadyAligned = {};
for (var i = 0; i < alignedCompetencies.length; i++) {
var a = new EcAssertion();
a.assignId(repo.selectedServer, s.id);
a.assignId(repo.selectedServer, EcCrypto.md5(s.id+alignedCompetencies[i].targetUrl));
a.addOwner(EcPpk.fromPem(xapiMePpk).toPk());
a.addOwner(authorityPk);
a.setSubject(actorPk);
Expand Down

0 comments on commit 36c9b7d

Please sign in to comment.