mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
fix #1123
This commit is contained in:
@@ -127,9 +127,6 @@ internal sealed partial class DailyNoteService : IDailyNoteService, IRecipient<U
|
||||
{
|
||||
WebDailyNote dailyNote = dailyNoteResponse.Data;
|
||||
|
||||
// 发送通知
|
||||
await dailyNoteNotificationOperation.SendAsync(entry).ConfigureAwait(false);
|
||||
|
||||
// 集合内的实时便笺与数据库取出的非同一个对象,需要分别更新
|
||||
// cache
|
||||
await taskContext.SwitchToMainThreadAsync();
|
||||
@@ -147,6 +144,9 @@ internal sealed partial class DailyNoteService : IDailyNoteService, IRecipient<U
|
||||
entry.UpdateDailyNote(dailyNote);
|
||||
await dailyNoteDbService.UpdateDailyNoteEntryAsync(entry).ConfigureAwait(false);
|
||||
await dailyNoteWebhookOperation.TryPostDailyNoteToWebhookAsync(dailyNote).ConfigureAwait(false);
|
||||
|
||||
// 发送通知
|
||||
await dailyNoteNotificationOperation.SendAsync(entry).ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user