Right now the personal token (used for roster sync authentication) will be overwritten when the user login through GHE, because set_user_access_token updates the whole document of user instead of only setting the access_token field. This PR changes this to a $set operation to avoid this.
Right now the personal token (used for roster sync authentication) will be overwritten when the user login through GHE, because
set_user_access_token
updates the whole document of user instead of only setting the access_token field. This PR changes this to a $set operation to avoid this.