Skip to content

Commit c15fd1b

Browse files
committed
Fix typo
1 parent 754004e commit c15fd1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xapi_stmt_gen/xapi_stmt_gen/generator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3720,7 +3720,7 @@ module.exports = async function main() { // eslint-disable-line max-statements
37203720
let newEppns = [];
37213721
for (const user of users) {
37223722
// Use alternatename as username if authenticated using GakuNinLMS's LTI plugin
3723-
const username = (user.auth = 'lti' && config.LRS.ePPNScoped) ? user.alternatename : user.username;
3723+
const username = (user.auth === 'lti' && config.LRS.ePPNScoped) ? user.alternatename : user.username;
37243724
const eppn = eppns.find((eppn) => {
37253725
if (eppn['username'] === username) {
37263726
return eppn;

0 commit comments

Comments
 (0)