Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changed turn url #430

Merged
merged 4 commits into from
Feb 9, 2022
Merged

changed turn url #430

merged 4 commits into from
Feb 9, 2022

Conversation

Buhle79
Copy link
Contributor

@Buhle79 Buhle79 commented Feb 8, 2022

No description provided.

@Buhle79 Buhle79 requested a review from erikh360 February 8, 2022 12:17
@@ -626,7 +626,7 @@ def get_turn_profile_link(contact_number):
}

if contact_number:
turn_url = settings.TURN_URL + "/v1/contacts/{}/messages".format(
turn_url = settings.TURN_URL + "v1/contacts/{}/messages".format(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let rather use the urljoin package to build this URL, then we'll know it will always work, doesn't matter what TURN_URL is configured as.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eventstore/tasks.py Outdated Show resolved Hide resolved
@Buhle79 Buhle79 merged commit 6ccd0f8 into develop Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants