-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated: changed function param in accordance with this PR
* closes inveniosoftware/invenio-app-rdm#2186
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]) | ||
``` | ||
|
||
|