Skip to content

Commit 48b3d5e

Browse files
committed
Break too long lines
1 parent c15fd1b commit 48b3d5e

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

xapi_stmt_gen/xapi_stmt_gen/generator.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3719,8 +3719,13 @@ module.exports = async function main() { // eslint-disable-line max-statements
37193719
let userAttrs = [];
37203720
let newEppns = [];
37213721
for (const user of users) {
3722-
// Use alternatename as username if authenticated using GakuNinLMS's LTI plugin
3723-
const username = (user.auth === 'lti' && config.LRS.ePPNScoped) ? user.alternatename : user.username;
3722+
// Use alternatename as username
3723+
// if authenticated using GakuNinLMS's LTI plugin
3724+
const username = (
3725+
(user.auth === 'lti' && config.LRS.ePPNScoped)
3726+
? user.alternatename
3727+
: user.username
3728+
);
37243729
const eppn = eppns.find((eppn) => {
37253730
if (eppn['username'] === username) {
37263731
return eppn;

0 commit comments

Comments
 (0)