chore(notification-manager): add receivers to notification logs (#5561)

This commit is contained in:
Sheldon Guo 2024-11-06 11:46:16 +08:00 committed by GitHub
parent 8726b5d9c3
commit 0ebaf5ef65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,6 +51,7 @@ export class NotificationManager implements NotificationManager {
const instance = new Channel(this.plugin.app);
logData.channelTitle = channel.title;
logData.notificationType = channel.notificationType;
logData.receivers = params.receivers;
const result = await instance.send({ message: params.message, channel, receivers: params.receivers });
logData.status = result.status;
logData.reason = result.reason;