Skip to content

Commit

Permalink
updated: changed function param in accordance with this PR
Browse files Browse the repository at this point in the history
  • Loading branch information
TLGINO authored and zzacharo committed Jun 30, 2023
1 parent caf205e commit d77ec30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/customize/vocabularies/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ run:
from flask_security.confirmable import confirm_user
from invenio_accounts.proxies import current_datastore
from invenio_db import db
from invenio_users_resources.services.users.tasks import reindex_user
from invenio_users_resources.services.users.tasks import reindex_users
user = current_datastore.get_user("[email protected]")
confirm_user(user)
db.session.commit()
reindex_user(user.id)
reindex_users([user.id])
```

Expand Down

0 comments on commit d77ec30

Please sign in to comment.