From f191956dd9db1080c89fd4f53010a153353749ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20J=C3=A4ckel?= Date: Wed, 3 Aug 2016 16:12:52 +0200 Subject: [PATCH] Fixed error in autoupdate. See #2248. --- openslides/utils/autoupdate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/utils/autoupdate.py b/openslides/utils/autoupdate.py index c0730c093..3bb64a2d7 100644 --- a/openslides/utils/autoupdate.py +++ b/openslides/utils/autoupdate.py @@ -90,7 +90,7 @@ def send_data(message): channel = Group('user-{}'.format(user.id)) output = { 'collection': message['collection_string'], - 'id': instance.get_rest_pk(), + 'id': message['pk'], # == instance.get_rest_pk() 'action': 'deleted' if message['is_deleted'] else 'changed'} if not message['is_deleted']: data = access_permissions.get_restricted_data(full_data, user)