aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Controllers/UserController.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-03-06 23:04:13 +0800
committerGitHub <noreply@github.com>2021-03-06 23:04:13 +0800
commitffdbd6e8a69678462ec08ca894b9f8d7b3fc1516 (patch)
tree246541d65473634839d5536b1111f7b742f54dab /BackEnd/Timeline/Controllers/UserController.cs
parent51d0e48890069d81e383aef01e31da0a6d990e7a (diff)
parent890fef4f276ec44312eb936583adbbf47d7cfe9d (diff)
downloadtimeline-ffdbd6e8a69678462ec08ca894b9f8d7b3fc1516.tar.gz
timeline-ffdbd6e8a69678462ec08ca894b9f8d7b3fc1516.tar.bz2
timeline-ffdbd6e8a69678462ec08ca894b9f8d7b3fc1516.zip
Merge pull request #347 from crupest/markdown
Markdown post auto translate data url.
Diffstat (limited to 'BackEnd/Timeline/Controllers/UserController.cs')
-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
{