fix: Remove requirement to have SLACK_CLIENT_ID to use SLACK_VERIFICATION_TOKEN

This commit is contained in:
Tom Moor
2023-06-10 15:31:27 +03:00
parent d5c1336580
commit 3f7e66980b

View File

@@ -397,10 +397,9 @@ export class Environment {
);
/**
* This is injected into the HTML page headers for Slack.
* This is used to verify webhook requests received from Slack.
*/
@IsOptional()
@CannotUseWithout("SLACK_CLIENT_ID")
public SLACK_VERIFICATION_TOKEN = this.toOptionalString(
process.env.SLACK_VERIFICATION_TOKEN
);