dev: update the domain url

This commit is contained in:
pablohashescobar 2023-11-09 18:41:13 +05:30
parent 1496af99b7
commit 009eec4692

View File

@ -401,7 +401,7 @@ class InviteProjectEndpoint(BaseAPIView):
token=token,
role=role,
)
domain = settings.WEB_URL
domain = f"{request.scheme}://{request.get_host()}"
project_invitation.delay(email, project_id, token, domain)
return Response(