Fix build
This commit is contained in:
parent
eb9bd700ca
commit
80d54bf456
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ export const getSendgridSettings = async ({ authData, channel }: GetSendgridSett
|
|||
const sendgridConfigurations = await caller.sendgridConfiguration.fetch();
|
||||
const appConfigurations = await caller.appConfiguration.fetch();
|
||||
|
||||
const channelAppConfiguration = appConfigurations.configurationsPerChannel[channel];
|
||||
const channelAppConfiguration = appConfigurations?.configurationsPerChannel[channel];
|
||||
if (!channelAppConfiguration) {
|
||||
logger.warn("App has no configuration for this channel");
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue