We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b89a9c commit ef397a0Copy full SHA for ef397a0
firebase_admin/_user_mgt.py
@@ -320,7 +320,7 @@ def delete_user(self, uid):
320
"""Deletes the user identified by the specified user ID."""
321
_Validator.validate_uid(uid)
322
try:
323
- response = self._request('post', 'deleteAccount', json={'localId' : [uid]})
+ response = self._request('post', 'deleteAccount', json={'localId' : uid})
324
except requests.exceptions.RequestException as error:
325
self._handle_http_error(
326
USER_DELETE_ERROR, 'Failed to delete user: {0}.'.format(uid), error)
0 commit comments