Skip to content

Commit

Permalink
URI encode emails before inviting to Zulip
Browse files Browse the repository at this point in the history
  • Loading branch information
jerodsanto committed Feb 4, 2025
1 parent c0fa208 commit 62a661d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/changelog/zulip/client.ex
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ defmodule Changelog.Zulip.Client do
end

def post_invite(email) do
email = URI.encode_www_form(email)
params = ~s(invitee_emails=#{email}&stream_ids=[]&include_realm_default_subscriptions=true)
headers = with_admin_headers()

Expand Down

0 comments on commit 62a661d

Please sign in to comment.