Skip to content

Commit

Permalink
fix: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonVreling committed Nov 23, 2020
1 parent d7a1ce1 commit 55735dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/User.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const User = sequelize.define('user', {
if (this.primary_email === 'gsuite') {
return this.gsuite_id;
}
return this.primary_email;
return this.email;
}
},
last_logged_in: {
Expand Down

0 comments on commit 55735dd

Please sign in to comment.