Skip to content

Commit

Permalink
refactor: changed method imput from element to list
Browse files Browse the repository at this point in the history
 * made compatible with changes from this PR
 * closes inveniosoftware/invenio-app-rdm#2186
  • Loading branch information
TLGINO committed May 12, 2023
1 parent 6d77587 commit 4e39a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invenio_rdm_records/fixtures/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def create(self, entry):
confirm_user(user)

db.session.commit()
reindex_user(user.id)
reindex_user([user.id])
except IntegrityError:
current_app.logger.info(f"skipping creation of {email}, already existing")
db.session.rollback()

0 comments on commit 4e39a7e

Please sign in to comment.