🎨 Unified the cache key styling

This commit is contained in:
2025-06-21 13:48:20 +08:00
parent 5f30b56ef8
commit cb8e720af1
4 changed files with 8 additions and 8 deletions

View File

@ -6,7 +6,7 @@ namespace DysonNetwork.Sphere.Account;
public class RelationshipService(AppDatabase db, ICacheService cache)
{
private const string UserFriendsCacheKeyPrefix = "UserFriends_";
private const string UserFriendsCacheKeyPrefix = "user:friends:";
public async Task<bool> HasExistingRelationship(Guid accountId, Guid relatedId)
{