diff options
author | 杨宇千 <crupest@outlook.com> | 2019-10-24 20:12:42 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-10-24 20:12:42 +0800 |
commit | 2bc4c701f9cdff1fdd11a5736c33a5818fbae3e9 (patch) | |
tree | 7ca5010a06829cc5fadea1ea17ae72d082fc344c /Timeline/Services | |
parent | 912455ac19161533205c2fe56b91ff4595ea4fdb (diff) | |
download | timeline-2bc4c701f9cdff1fdd11a5736c33a5818fbae3e9.tar.gz timeline-2bc4c701f9cdff1fdd11a5736c33a5818fbae3e9.tar.bz2 timeline-2bc4c701f9cdff1fdd11a5736c33a5818fbae3e9.zip |
...
Diffstat (limited to 'Timeline/Services')
-rw-r--r-- | Timeline/Services/UserService.cs | 2 |
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)
{
|