change json to content
This commit is contained in:
parent
64970a6c82
commit
3cbe9b0530
1 changed files with 2 additions and 1 deletions
|
@ -916,7 +916,8 @@ class NextcloudHandler:
|
||||||
else:
|
else:
|
||||||
self.cache['cached_passwords'] = [ new_obj ]
|
self.cache['cached_passwords'] = [ new_obj ]
|
||||||
return r.json()
|
return r.json()
|
||||||
self.error(r.json())
|
self.error(r.content)
|
||||||
|
self.error(r.headers)
|
||||||
self.error(
|
self.error(
|
||||||
{
|
{
|
||||||
"action": "create_password",
|
"action": "create_password",
|
||||||
|
|
Loading…
Reference in a new issue