Commit db91b762 authored by Waseem Daher's avatar Waseem Daher
Browse files

Add User-Agent to Zulip requests.

parent cf9dd5f5
......@@ -109,6 +109,7 @@ class NotificationHook < Redmine::Hook::Listener
req = Net::HTTP::Post.new("/v1/messages")
req.basic_auth zulip_email(project), zulip_api_key(project)
req.add_field('User-Agent', 'ZulipRedmine/0.1')
req.set_form_data(data)
begin
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment