diff --git a/extensions/mattermost/src/mattermost/slash-http.ts b/extensions/mattermost/src/mattermost/slash-http.ts index 1bc9d18773e..3428a8d18c3 100644 --- a/extensions/mattermost/src/mattermost/slash-http.ts +++ b/extensions/mattermost/src/mattermost/slash-http.ts @@ -152,7 +152,7 @@ async function authorizeSlashInvocation(params: { ? channelType?.toUpperCase() === "G" ? "group" : "channel" - : "direct"; + : "channel"; const chatType = kind === "direct" ? "direct" : kind === "group" ? "group" : "channel";