aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Services/UserService.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-10-24 20:12:42 +0800
committer杨宇千 <crupest@outlook.com>2019-10-24 20:12:42 +0800
commita0f3cd7599a48c14fb5492fb1c6e2dbd0a82fb45 (patch)
tree7ca5010a06829cc5fadea1ea17ae72d082fc344c /Timeline/Services/UserService.cs
parent280faac75b113d9a4bbecd7e4ea3499f1691ce61 (diff)
downloadtimeline-a0f3cd7599a48c14fb5492fb1c6e2dbd0a82fb45.tar.gz
timeline-a0f3cd7599a48c14fb5492fb1c6e2dbd0a82fb45.tar.bz2
timeline-a0f3cd7599a48c14fb5492fb1c6e2dbd0a82fb45.zip
...
Diffstat (limited to 'Timeline/Services/UserService.cs')
-rw-r--r--Timeline/Services/UserService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Services/UserService.cs b/Timeline/Services/UserService.cs
index f1317856..8f354fc7 100644
--- a/Timeline/Services/UserService.cs
+++ b/Timeline/Services/UserService.cs
@@ -155,7 +155,7 @@ namespace Timeline.Services
_usernameValidator = new UsernameValidator();
}
- private string GenerateCacheKeyByUserId(long id) => $"user:{id}";
+ private static string GenerateCacheKeyByUserId(long id) => $"user:{id}";
private void RemoveCache(long id)
{