fix
This commit is contained in:
parent
4c7c620599
commit
ce29445d4d
|
|
@ -340,16 +340,17 @@ async function createNotification(message: CreateMessageData, context: BRC<Entit
|
|||
break;
|
||||
}
|
||||
case 'email': {
|
||||
const emailNotification =
|
||||
await tryMakeEmailNotification(
|
||||
message,
|
||||
context
|
||||
);
|
||||
if (emailNotification) {
|
||||
notificationDatas.push(
|
||||
emailNotification
|
||||
);
|
||||
}
|
||||
const emailNotification =
|
||||
await tryMakeEmailNotification(
|
||||
message,
|
||||
context
|
||||
);
|
||||
if (emailNotification) {
|
||||
notificationDatas.push(
|
||||
emailNotification
|
||||
);
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
assert(channel === 'sms'); // 目前只支持三种
|
||||
|
|
|
|||
Loading…
Reference in New Issue