Remove referal id from invite email link

This commit is contained in:
Shane Kilkelly 2016-08-01 15:56:07 +01:00
parent 9787edd716
commit 291a26595c

View file

@ -9,8 +9,6 @@ module.exports = CollaboratorsEmailHandler =
"#{Settings.siteUrl}/project/#{project._id}/invite/token/#{invite.token}?" + [ "#{Settings.siteUrl}/project/#{project._id}/invite/token/#{invite.token}?" + [
"project_name=#{encodeURIComponent(project.name)}" "project_name=#{encodeURIComponent(project.name)}"
"user_first_name=#{encodeURIComponent(project.owner_ref.first_name)}" "user_first_name=#{encodeURIComponent(project.owner_ref.first_name)}"
"r=#{project.owner_ref.referal_id}" # Referal
"rs=ci" # referral source = collaborator invite
].join("&") ].join("&")
notifyUserOfProjectShare: (project_id, email, callback)-> notifyUserOfProjectShare: (project_id, email, callback)->