Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamBergamin committed Oct 5, 2022
1 parent 191366e commit 2b5e498
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1402,12 +1402,12 @@ function buildSource<IsEnterpriseInstall extends boolean>(
type === IncomingEventType.Options ||
type === IncomingEventType.Shortcut
) {
const bodyAsActionOrOptionsOrOrShortcut = body as (
const bodyAsActionOrOptionsOrShortcut = body as (
| SlackActionMiddlewareArgs
| SlackOptionsMiddlewareArgs
| SlackShortcutMiddlewareArgs
)['body'];
return parseTeamId(bodyAsActionOrOptionsOrOrShortcut);
return parseTeamId(bodyAsActionOrOptionsOrShortcut);
}

return assertNever(type);
Expand Down

0 comments on commit 2b5e498

Please sign in to comment.