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 | 24c272403ba360f27acd68c2702c678a86063964 (patch) | |
tree | f2b8d2ea2a82dcada1e987b347b02afafc0efe0c /BackEnd/Timeline/Controllers/UserController.cs | |
parent | 736ba716cfb87bc0e8e4979825a1693dc6010f9c (diff) | |
download | timeline-24c272403ba360f27acd68c2702c678a86063964.tar.gz timeline-24c272403ba360f27acd68c2702c678a86063964.tar.bz2 timeline-24c272403ba360f27acd68c2702c678a86063964.zip |
refactor: Rename HttpCreateUserRequest to HttpUserPostRequest.
Diffstat (limited to 'BackEnd/Timeline/Controllers/UserController.cs')
-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
{
|