Skip to content

Commit

Permalink
Ensure channel renames are to lower case (#4831)
Browse files Browse the repository at this point in the history
  • Loading branch information
whitdog47 authored Jun 14, 2024
1 parent 580b0da commit 4f1e5e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dispatch/plugins/dispatch_slack/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def unarchive_conversation(client: WebClient, conversation_id: str) -> SlackResp
def rename_conversation(client: WebClient, conversation_id: str, name: str) -> SlackResponse:
"""Renames an existing conversation."""
return make_call(
client, SlackAPIPostEndpoints.conversations_rename, channel=conversation_id, name=name
client, SlackAPIPostEndpoints.conversations_rename, channel=conversation_id, name=name.lower()
)


Expand Down

0 comments on commit 4f1e5e5

Please sign in to comment.