Skip to content

Commit

Permalink
Merge pull request #9452 from RocketChat/fix-livechat-register-form
Browse files Browse the repository at this point in the history
[FIX] Fix livechat register form
  • Loading branch information
rodrigok authored Jan 20, 2018
2 parents fcfb367 + 62e1176 commit 870f9b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-livechat/.app/client/views/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Template.register.events({
return instance.showError(error.reason);
}
parentCall('callback', ['pre-chat-form-submit', _.omit(guest, 'token')]);
visitor.setId(result._id);
visitor.setId(result.userId);
start();
});
}
Expand Down

0 comments on commit 870f9b1

Please sign in to comment.