Closed brian-learningpool closed 4 years ago
It is not possible to set contextActivities.grouping for a statement via addGroupingActivity() due to this line in prepareStatement() always setting it to the LRS grouping: https://github.com/adlnet/xAPIWrapper/blob/master/src/xapiwrapper.js#L290
contextActivities.grouping
addGroupingActivity()
prepareStatement()
It is not possible to set
contextActivities.grouping
for a statement viaaddGroupingActivity()
due to this line inprepareStatement()
always setting it to the LRS grouping: https://github.com/adlnet/xAPIWrapper/blob/master/src/xapiwrapper.js#L290