mirror of
https://github.com/ansible/awx.git
synced 2026-03-19 01:47:31 -02:30
fix token creation
This commit is contained in:
@@ -531,7 +531,7 @@ def _request(verb):
|
||||
user = data_or_user
|
||||
elif 'data' not in kwargs:
|
||||
kwargs['data'] = data_or_user
|
||||
if 'format' not in kwargs:
|
||||
if 'format' not in kwargs and 'content_type' not in kwargs:
|
||||
kwargs['format'] = 'json'
|
||||
|
||||
view, view_args, view_kwargs = resolve(urlparse(url)[2])
|
||||
|
||||
Reference in New Issue
Block a user