lms-sync 1.0.43 → 1.0.45
Sign up to get free protection for your applications and to get access to all the features.
@@ -64,11 +64,13 @@ const server = {
|
|
64
64
|
let [userDefault, createdUser] = await Users.findOrCreate({
|
65
65
|
where: { email: userDefPayload.email },
|
66
66
|
defaults: userDefPayload
|
67
|
-
});
|
67
|
+
});
|
68
|
+
|
69
|
+
if (createdUser){
|
70
|
+
logger.info(`Created Migration User :>> ${userDefault.email}`);
|
71
|
+
}
|
68
72
|
|
69
|
-
const userMail = await Users.findOne({ where: { email: 'ccci_integrator@gmail.com' } });
|
70
|
-
|
71
|
-
|
73
|
+
const userMail = await Users.findOne({ where: { email: 'ccci_integrator@gmail.com' } });
|
72
74
|
|
73
75
|
let semesterData = [
|
74
76
|
{
|