Skip to content

Commit

Permalink
Merge branch 'dev' into rares/overrides-timezones
Browse files Browse the repository at this point in the history
  • Loading branch information
teodosii authored Jun 21, 2024
2 parents 797f527 + 615081a commit fd89556
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions engine/apps/slack/scenarios/paging.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,13 @@ def _create_user_option_groups(
}
)

# Only inject chatops-proxy metadata into the first dropdown option to reduce payload size
# so the 250kb Slack limit is not exceeded for orgs with many users
if option_groups:
option_groups[0]["options"][0]["value"] = make_value(
json.loads(option_groups[0]["options"][0]["value"]), organization
)

return option_groups


Expand Down

0 comments on commit fd89556

Please sign in to comment.