From b3a56cdffc42c81cf39a5081e1e6aa3363b86ea1 Mon Sep 17 00:00:00 2001 From: Vadim Stepanov Date: Tue, 4 Jun 2024 19:11:15 +0100 Subject: [PATCH] Reduce size of payload on `/escalate` Slack command (#4458) --- engine/apps/slack/scenarios/paging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/apps/slack/scenarios/paging.py b/engine/apps/slack/scenarios/paging.py index ecce5b5d76..22532dc0f9 100644 --- a/engine/apps/slack/scenarios/paging.py +++ b/engine/apps/slack/scenarios/paging.py @@ -681,7 +681,7 @@ def _create_user_option_groups( "text": f"{user.name or user.username}", "emoji": True, }, - "value": make_value({"id": user.pk}, organization), + "value": json.dumps({"id": user.pk}), } for user in users ]