Skip to content

Commit 49dbd86

Browse files
committed
cli: fix get_patron_activity breaking after invenio-userprofile update
* UserProfile is no longer a model
1 parent f97af18 commit 49dbd86

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

invenio_app_ils/patrons/anonymization.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ def dump(search):
6060
patron_loans = dump(get_loans_by_patron_pid(patron_pid))
6161

6262
patron_profile = UserProfile.get_by_userid(patron_pid).__dict__
63-
del patron_profile["_sa_instance_state"]
6463

6564
patron_data = {
6665
"patron": patron,

0 commit comments

Comments
 (0)