aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Controllers/UserAvatarController.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-04-27 19:29:20 +0800
committercrupest <crupest@outlook.com>2021-04-27 19:29:20 +0800
commita665f5d894539cae5f4188e4a72ea9634b8c4ed0 (patch)
tree03aa9d578e13213018c178ba47755167e2ccc2d4 /BackEnd/Timeline/Controllers/UserAvatarController.cs
parent89e3c2103fa478ebc659a1b914e75d5138c06c08 (diff)
downloadtimeline-a665f5d894539cae5f4188e4a72ea9634b8c4ed0.tar.gz
timeline-a665f5d894539cae5f4188e4a72ea9634b8c4ed0.tar.bz2
timeline-a665f5d894539cae5f4188e4a72ea9634b8c4ed0.zip
refactor: ...
Diffstat (limited to 'BackEnd/Timeline/Controllers/UserAvatarController.cs')
-rw-r--r--BackEnd/Timeline/Controllers/UserAvatarController.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/BackEnd/Timeline/Controllers/UserAvatarController.cs b/BackEnd/Timeline/Controllers/UserAvatarController.cs
index d0998fa7..5d4c70f3 100644
--- a/BackEnd/Timeline/Controllers/UserAvatarController.cs
+++ b/BackEnd/Timeline/Controllers/UserAvatarController.cs
@@ -55,7 +55,7 @@ namespace Timeline.Controllers
long id;
try
{
- id = await _userService.GetUserIdByUsername(username);
+ id = await _userService.GetUserIdByUsernameAsync(username);
}
catch (UserNotExistException e)
{
@@ -91,7 +91,7 @@ namespace Timeline.Controllers
long id;
try
{
- id = await _userService.GetUserIdByUsername(username);
+ id = await _userService.GetUserIdByUsernameAsync(username);
}
catch (UserNotExistException e)
{
@@ -150,7 +150,7 @@ namespace Timeline.Controllers
long id;
try
{
- id = await _userService.GetUserIdByUsername(username);
+ id = await _userService.GetUserIdByUsernameAsync(username);
}
catch (UserNotExistException e)
{