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 | 40eea04e1ec9b71c5215e9dce5a6963ea60cafaa (patch) | |
tree | 1fa3969a53138becb76a7eef7bafdafc7046c12c /Timeline/Controllers/PersonalTimelineController.cs | |
parent | 4ec507df6251bc1dae5204fdc6aaf14ddbb268f6 (diff) | |
download | timeline-40eea04e1ec9b71c5215e9dce5a6963ea60cafaa.tar.gz timeline-40eea04e1ec9b71c5215e9dce5a6963ea60cafaa.tar.bz2 timeline-40eea04e1ec9b71c5215e9dce5a6963ea60cafaa.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));
}
|