aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models/Http/ErrorResponse.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/Models/Http/ErrorResponse.cs')
-rw-r--r--Timeline/Models/Http/ErrorResponse.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/Timeline/Models/Http/ErrorResponse.cs b/Timeline/Models/Http/ErrorResponse.cs
index 6a53e0c3..87516638 100644
--- a/Timeline/Models/Http/ErrorResponse.cs
+++ b/Timeline/Models/Http/ErrorResponse.cs
@@ -184,14 +184,14 @@ namespace Timeline.Models.Http
public static class UserController
{
- public static CommonResponse ChangeUsername_Conflict(params object?[] formatArgs)
+ public static CommonResponse UsernameConflict(params object?[] formatArgs)
{
- return new CommonResponse(ErrorCodes.UserController.ChangeUsername_Conflict, string.Format(UserController_ChangeUsername_Conflict, formatArgs));
+ return new CommonResponse(ErrorCodes.UserController.UsernameConflict, string.Format(UserController_UsernameConflict, formatArgs));
}
- public static CommonResponse CustomMessage_ChangeUsername_Conflict(string message, params object?[] formatArgs)
+ public static CommonResponse CustomMessage_UsernameConflict(string message, params object?[] formatArgs)
{
- return new CommonResponse(ErrorCodes.UserController.ChangeUsername_Conflict, string.Format(message, formatArgs));
+ return new CommonResponse(ErrorCodes.UserController.UsernameConflict, string.Format(message, formatArgs));
}
public static CommonResponse ChangePassword_BadOldPassword(params object?[] formatArgs)
@@ -244,18 +244,18 @@ namespace Timeline.Models.Http
public static class TimelineController
{
- public static CommonResponse PostOperationDelete_NotExist(params object?[] formatArgs)
+ public static CommonResponse MemberPut_NotExist(params object?[] formatArgs)
{
- return new CommonResponse(ErrorCodes.TimelineController.PostOperationDelete_NotExist, string.Format(TimelineController_PostOperationDelete_NotExist, formatArgs));
+ return new CommonResponse(ErrorCodes.TimelineController.MemberPut_NotExist, string.Format(TimelineController_MemberPut_NotExist, formatArgs));
}
- public static CommonResponse CustomMessage_PostOperationDelete_NotExist(string message, params object?[] formatArgs)
+ public static CommonResponse CustomMessage_MemberPut_NotExist(string message, params object?[] formatArgs)
{
- return new CommonResponse(ErrorCodes.TimelineController.PostOperationDelete_NotExist, string.Format(message, formatArgs));
+ return new CommonResponse(ErrorCodes.TimelineController.MemberPut_NotExist, string.Format(message, formatArgs));
}
}
}
-}
+} \ No newline at end of file