Skip to content

Commit

Permalink
Merge branch 'main' into issue-977-slack-install-flag
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Aug 24, 2021
2 parents 27c1e45 + 02d601d commit 3c82e94
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/receivers/ExpressReceiver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,6 @@ export default class ExpressReceiver implements Receiver {
this.logger.setLevel(logLevel);
}

if (typeof logger !== 'undefined') {
this.logger = logger;
} else {
this.logger = new ConsoleLogger();
this.logger.setLevel(logLevel);
}

const expressMiddleware: RequestHandler[] = [
verifySignatureAndParseRawBody(this.logger, signingSecret),
respondToSslCheck,
Expand Down

0 comments on commit 3c82e94

Please sign in to comment.