Reduce size of payload on /escalate Slack command (#4458)

This commit is contained in:
Vadim Stepanov 2024-06-04 19:11:15 +01:00 committed by GitHub
parent 038d78df2a
commit b3a56cdffc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
]