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 sendgridConfigurations = await caller.sendgridConfiguration.fetch();
|
||||||
const appConfigurations = await caller.appConfiguration.fetch();
|
const appConfigurations = await caller.appConfiguration.fetch();
|
||||||
|
|
||||||
const channelAppConfiguration = appConfigurations.configurationsPerChannel[channel];
|
const channelAppConfiguration = appConfigurations?.configurationsPerChannel[channel];
|
||||||
if (!channelAppConfiguration) {
|
if (!channelAppConfiguration) {
|
||||||
logger.warn("App has no configuration for this channel");
|
logger.warn("App has no configuration for this channel");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue