Skip to content

Commit c7e89f5

Browse files
committed
fix(logic): syntax;
- Org reindex bug.
1 parent 2888dce commit c7e89f5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changes/0007.canada.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed a bug with `organization_packages_background_reindex` raising an exception during `_group_or_org_update`

ckan/logic/action/update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ def _group_or_org_update(
746746
action = 'organization_packages_background_reindex'
747747
reindex_context = {
748748
'model': model,
749-
'user': user,
749+
'user': context.get('user'),
750750
'ignore_auth': True,
751751
'session': session
752752
}

0 commit comments

Comments
 (0)