forked from github/plane
dev: update the domain url
This commit is contained in:
parent
1496af99b7
commit
009eec4692
@ -401,7 +401,7 @@ class InviteProjectEndpoint(BaseAPIView):
|
|||||||
token=token,
|
token=token,
|
||||||
role=role,
|
role=role,
|
||||||
)
|
)
|
||||||
domain = settings.WEB_URL
|
domain = f"{request.scheme}://{request.get_host()}"
|
||||||
project_invitation.delay(email, project_id, token, domain)
|
project_invitation.delay(email, project_id, token, domain)
|
||||||
|
|
||||||
return Response(
|
return Response(
|
||||||
|
Loading…
Reference in New Issue
Block a user