Skip to content

Commit 9825613

Browse files
committed
Temporary add some details the error message to quickly debug #235
1 parent 74a8701 commit 9825613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/projectMemberInvites/update.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ module.exports = [
6868
}
6969
} else if ((!!putInvite.userId && putInvite.userId !== req.authUser.userId) ||
7070
(!!putInvite.email && putInvite.email !== req.authUser.email)) {
71-
error = 'Project members can only update invites for themselves';
71+
error = 'Project members can only update invites for themselves putInvite: ' + JSON.stringify(putInvite) + ', req.authUser: ' + JSON.stringify(req.authUser); // eslint-disable-line
7272
}
7373

7474
if (error) {

0 commit comments

Comments
 (0)