diff options
author | crupest <crupest@outlook.com> | 2021-03-06 19:32:38 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-03-06 21:25:57 +0800 |
commit | 5c0d0645fd2c1bfb51069d6f9079db32493f2956 (patch) | |
tree | f7dac07bb65f7be90e20426809ac542b0129f835 /BackEnd/Timeline/Controllers | |
parent | 51d0e48890069d81e383aef01e31da0a6d990e7a (diff) | |
download | timeline-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.cs | 3 |
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
{
|