🐛 Fix set cache with group broken the cache

This commit is contained in:
LittleSheep 2025-06-21 13:46:21 +08:00
parent 3824fba8e5
commit 95010e4188

View File

@ -324,7 +324,6 @@ public class CacheServiceRedis : ICacheService
public async Task<bool> SetWithGroupsAsync<T>(string key, T value, IEnumerable<string>? groups = null,
TimeSpan? expiry = null)
{
key = $"{GlobalKeyPrefix}{key}";
// First, set the value in the cache
var setResult = await SetAsync(key, value, expiry);