aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Controllers/PersonalTimelineController.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-01-19 22:45:43 +0800
committercrupest <crupest@outlook.com>2020-01-19 22:45:43 +0800
commit40eea04e1ec9b71c5215e9dce5a6963ea60cafaa (patch)
tree1fa3969a53138becb76a7eef7bafdafc7046c12c /Timeline/Controllers/PersonalTimelineController.cs
parent4ec507df6251bc1dae5204fdc6aaf14ddbb268f6 (diff)
downloadtimeline-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.cs3
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));
}