diff options
author | crupest <crupest@outlook.com> | 2020-01-19 22:45:43 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-01-19 22:45:43 +0800 |
commit | e6069a6980ec6d2505e19026d4c84a9588f153dc (patch) | |
tree | 1fa3969a53138becb76a7eef7bafdafc7046c12c /Timeline/Controllers/PersonalTimelineController.cs | |
parent | c5f3c69b3a008ab87542e523e2a59f37801bd65a (diff) | |
download | timeline-e6069a6980ec6d2505e19026d4c84a9588f153dc.tar.gz timeline-e6069a6980ec6d2505e19026d4c84a9588f153dc.tar.bz2 timeline-e6069a6980ec6d2505e19026d4c84a9588f153dc.zip |
Basically finish refactor of error codes.
Diffstat (limited to 'Timeline/Controllers/PersonalTimelineController.cs')
-rw-r--r-- | Timeline/Controllers/PersonalTimelineController.cs | 3 |
1 files changed, 1 insertions, 2 deletions
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));
}
|