mirror of
https://github.com/andrewyng/openworker.git
synced 2026-09-04 16:42:35 +00:00
security: harden Slack approval handling
This commit is contained in:
@@ -358,7 +358,10 @@ class SlackRelayAdapter(BasePlatformAdapter):
|
||||
chat_id=qualify(team_id, channel),
|
||||
message_id=ts,
|
||||
value=str(value),
|
||||
user_id=user.get("id"),
|
||||
user_name=user.get("username") or user.get("name"),
|
||||
team_id=team_id,
|
||||
response_url=interaction.get("response_url"),
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user