From e6069a6980ec6d2505e19026d4c84a9588f153dc Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 19 Jan 2020 22:45:43 +0800 Subject: Basically finish refactor of error codes. --- Timeline/Controllers/PersonalTimelineController.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Timeline/Controllers/PersonalTimelineController.cs') diff --git a/Timeline/Controllers/PersonalTimelineController.cs b/Timeline/Controllers/PersonalTimelineController.cs index e1e3aba0..2c70fad1 100644 --- a/Timeline/Controllers/PersonalTimelineController.cs +++ b/Timeline/Controllers/PersonalTimelineController.cs @@ -3,7 +3,6 @@ using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System.Collections.Generic; -using System.Globalization; using System.Threading.Tasks; using Timeline.Auth; using Timeline.Filters; @@ -134,7 +133,7 @@ namespace Timeline.Controllers } else if (e.InnerException is UserNotExistException) { - return BadRequest(ErrorResponse.Common.CustomMessage_InvalidModel( + return BadRequest(ErrorResponse.UserCommon.CustomMessage_NotExist( TimelineController_ChangeMember_UserNotExist, e.Index, e.Operation)); } -- cgit v1.2.3