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
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lms-sync",
3
- "version": "1.0.43",
3
+ "version": "1.0.45",
4
4
  "description": "Migration App for MSC LMS",
5
5
  "main": "index.js",
6
6
  "scripts": {