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
commita6150c487e7a0eb3fb1d9874d2fa7de61cdbfd30 (patch)
tree65ad2e897051d36ca49896e0df66841df4bffd6f /BackEnd/Timeline/Controllers/UserAvatarController.cs
parentcb3d8d0997679d2b9a961ec92b6555af4c4ef53f (diff)
downloadtimeline-a6150c487e7a0eb3fb1d9874d2fa7de61cdbfd30.tar.gz
timeline-a6150c487e7a0eb3fb1d9874d2fa7de61cdbfd30.tar.bz2
timeline-a6150c487e7a0eb3fb1d9874d2fa7de61cdbfd30.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)
{