From 24c272403ba360f27acd68c2702c678a86063964 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 6 Mar 2021 19:32:38 +0800 Subject: refactor: Rename HttpCreateUserRequest to HttpUserPostRequest. --- BackEnd/Timeline/Controllers/UserController.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'BackEnd/Timeline/Controllers/UserController.cs') 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> Post([FromBody] HttpCreateUserRequest body) + public async Task> Post([FromBody] HttpUserPostRequest body) { try { -- cgit v1.2.3