Skip to content

Commit b49c0a3

Browse files
committed
fix typo and lint error
1 parent cb1517e commit b49c0a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/projects/list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ const retrieveProjects = (req, criteria, sort, ffields) => {
573573
if (util.hasPermissionByReq(PERMISSION.READ_PROJECT_INVITE_OWN, req)) {
574574
// only include own invites
575575
const currentUserId = req.authUser.userId;
576-
const email = req.authUser.email;
576+
const currentUserEmail = req.authUser.email;
577577
_.forEach(rows, (fp) => {
578578
const invites = _.filter(fp.invites, invite => (
579579
(invite.userId !== null && invite.userId === currentUserId) ||

0 commit comments

Comments
 (0)