mirror of
https://github.com/ansible/awx.git
synced 2026-02-17 03:00:04 -03:30
fix a bug which causes activitystream actor assignment to be invalid
Resolves #4660
This commit is contained in:
@@ -68,7 +68,6 @@ class ActivityStreamMiddleware(threading.local):
|
|||||||
if user.exists():
|
if user.exists():
|
||||||
user = user[0]
|
user = user[0]
|
||||||
instance.actor = user
|
instance.actor = user
|
||||||
instance.save(update_fields=['actor'])
|
|
||||||
else:
|
else:
|
||||||
if instance.id not in self.instance_ids:
|
if instance.id not in self.instance_ids:
|
||||||
self.instance_ids.append(instance.id)
|
self.instance_ids.append(instance.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user