Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
scazan committed Nov 13, 2023
1 parent bf2ccad commit c90c3db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/slack/src/handlers/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export async function queryLensSlashHandler(slashEvent: SlashEvent, context: Sla
* Handle an Event request and route it to the GitBook Lens' query function.
*/
export async function messageEventHandler(eventPayload: any, context: SlackRuntimeContext) {
// pull out required params from the slashEvent for queryLens
// pull out required params from the event for queryLens
const { type, text, bot_id, thread_ts, channel, user, team } = eventPayload.event;
const isExternalChannel = eventPayload.is_ext_shared_channel;

Expand Down

0 comments on commit c90c3db

Please sign in to comment.