aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Controllers
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-03-06 19:32:38 +0800
committercrupest <crupest@outlook.com>2021-03-06 21:25:57 +0800
commit5c0d0645fd2c1bfb51069d6f9079db32493f2956 (patch)
treef7dac07bb65f7be90e20426809ac542b0129f835 /BackEnd/Timeline/Controllers
parent51d0e48890069d81e383aef01e31da0a6d990e7a (diff)
downloadtimeline-5c0d0645fd2c1bfb51069d6f9079db32493f2956.tar.gz
timeline-5c0d0645fd2c1bfb51069d6f9079db32493f2956.tar.bz2
timeline-5c0d0645fd2c1bfb51069d6f9079db32493f2956.zip
refactor: Rename HttpCreateUserRequest to HttpUserPostRequest.
Diffstat (limited to 'BackEnd/Timeline/Controllers')
-rw-r--r--BackEnd/Timeline/Controllers/UserController.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/BackEnd/Timeline/Controllers/UserController.cs b/BackEnd/Timeline/Controllers/UserController.cs
index b6eaf152..76d6042f 100644
--- a/BackEnd/Timeline/Controllers/UserController.cs
+++ b/BackEnd/Timeline/Controllers/UserController.cs
@@ -3,7 +3,6 @@ using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
-using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Timeline.Auth;
@@ -69,7 +68,7 @@ namespace Timeline.Controllers
[ProducesResponseType(StatusCodes.Status400BadRequest)]
[ProducesResponseType(StatusCodes.Status401Unauthorized)]
[ProducesResponseType(StatusCodes.Status403Forbidden)]
- public async Task<ActionResult<HttpUser>> Post([FromBody] HttpCreateUserRequest body)
+ public async Task<ActionResult<HttpUser>> Post([FromBody] HttpUserPostRequest body)
{
try
{