diff --git a/app/assets/v2/js/pages/bounty_share.js b/app/assets/v2/js/pages/bounty_share.js
index fa7a47099e8..37151e1bf5d 100644
--- a/app/assets/v2/js/pages/bounty_share.js
+++ b/app/assets/v2/js/pages/bounty_share.js
@@ -30,7 +30,7 @@ const sendInvites = (users) => {
var sendEmail = fetchData(
'/api/v0.1/social_contribution_email/',
'POST',
- {usersId, msg, bountyId, invite_url},
+ {usersId, msg, bountyId},
{'X-CSRFToken': csrftoken}
);
diff --git a/app/dashboard/templates/social_contribution_modal.html b/app/dashboard/templates/social_contribution_modal.html
index 0822e490bb5..687ed3b6237 100644
--- a/app/dashboard/templates/social_contribution_modal.html
+++ b/app/dashboard/templates/social_contribution_modal.html
@@ -81,5 +81,4 @@
{% trans "Click to instantly share on the following networks" %}
{% csrf_token %}
diff --git a/app/dashboard/views.py b/app/dashboard/views.py
index 078de733d0b..beb6eb577d6 100644
--- a/app/dashboard/views.py
+++ b/app/dashboard/views.py
@@ -1137,11 +1137,9 @@ def social_contribution_email(request):
from .utils import get_bounty_invite_url
emails = []
- user_ids = request.POST.getlist('usersId[]', [])
- invite_url = request.POST.get('invite_url', '')
bounty_id = request.POST.get('bountyId')
- if not invite_url:
- invite_url = f'{settings.BASE_URL}issue/{get_bounty_invite_url(request.user.username, bounty_id)}'
+ user_ids = request.POST.getlist('usersId[]', [])
+ invite_url = f'{settings.BASE_URL}issue/{get_bounty_invite_url(request.user.username, bounty_id)}'
inviter = request.user if request.user.is_authenticated else None
bounty = Bounty.objects.current().get(id=int(bounty_id))