lms-sync 1.0.43 → 1.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
|
{
|