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 | a0f3cd7599a48c14fb5492fb1c6e2dbd0a82fb45 (patch) | |
tree | 7ca5010a06829cc5fadea1ea17ae72d082fc344c /Timeline/Services/UserService.cs | |
parent | 280faac75b113d9a4bbecd7e4ea3499f1691ce61 (diff) | |
download | timeline-a0f3cd7599a48c14fb5492fb1c6e2dbd0a82fb45.tar.gz timeline-a0f3cd7599a48c14fb5492fb1c6e2dbd0a82fb45.tar.bz2 timeline-a0f3cd7599a48c14fb5492fb1c6e2dbd0a82fb45.zip |
...
Diffstat (limited to 'Timeline/Services/UserService.cs')
-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)
{
|