🐛 Replace the serializer in cache service with newtonsoft json to solve JsonIgnore issue

This commit is contained in:
2025-05-24 18:29:20 +08:00
parent 460ce62452
commit 445e5d3705
7 changed files with 117 additions and 108 deletions

View File

@ -67,9 +67,7 @@ public class StickerService(AppDatabase db, FileService fs, ICacheService cache)
// Invalidate cache for all stickers in this pack
foreach (var sticker in stickers)
{
PurgeStickerCache(sticker);
}
await PurgeStickerCache(sticker);
}
public async Task<Sticker?> LookupStickerByIdentifierAsync(string identifier)