From a6150c487e7a0eb3fb1d9874d2fa7de61cdbfd30 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 27 Apr 2021 19:29:20 +0800 Subject: refactor: ... --- BackEnd/Timeline/Controllers/UserAvatarController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'BackEnd/Timeline/Controllers/UserAvatarController.cs') 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) { -- cgit v1.2.3