mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
webhooks: Fix unnecessary/buggy translation string.
This commit is contained in:
@@ -68,7 +68,7 @@ def do_rest_call(rest_operation, event, timeout=None):
|
|||||||
|
|
||||||
error = rest_operation_validator('rest_operation', rest_operation)
|
error = rest_operation_validator('rest_operation', rest_operation)
|
||||||
if error:
|
if error:
|
||||||
raise JsonableError(_("%s") % (error,))
|
raise JsonableError(error)
|
||||||
|
|
||||||
http_method = rest_operation['method']
|
http_method = rest_operation['method']
|
||||||
final_url = urllib.parse.urljoin(rest_operation['base_url'], rest_operation['relative_url_path'])
|
final_url = urllib.parse.urljoin(rest_operation['base_url'], rest_operation['relative_url_path'])
|
||||||
|
|||||||
Reference in New Issue
Block a user