Fix index
This commit is contained in:
parent
16c724ba8c
commit
0d195a0408
1 changed files with 1 additions and 1 deletions
|
@ -862,7 +862,7 @@ class NextcloudHandler:
|
||||||
else:
|
else:
|
||||||
if update:
|
if update:
|
||||||
existing_password = self.get_password(post_obj['label'], details=True)
|
existing_password = self.get_password(post_obj['label'], details=True)
|
||||||
post_obj['id'] = existing_password['id']
|
post_obj['id'] = existing_password[0]['id']
|
||||||
return self.update_password(post_obj)
|
return self.update_password(post_obj)
|
||||||
else:
|
else:
|
||||||
self.warning(
|
self.warning(
|
||||||
|
|
Loading…
Reference in a new issue