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
commitf7bf0b6609ac21165c8bd5502c0ec2b1a51bf618 (patch)
tree59507331750831118e7caa071a10e1cb8fc1e627 /BackEnd/Timeline/Controllers/UserController.cs
parent736ba716cfb87bc0e8e4979825a1693dc6010f9c (diff)
parent8f09e3172f249a9f5d229040415a0569e9d1c01b (diff)
downloadtimeline-f7bf0b6609ac21165c8bd5502c0ec2b1a51bf618.tar.gz
timeline-f7bf0b6609ac21165c8bd5502c0ec2b1a51bf618.tar.bz2
timeline-f7bf0b6609ac21165c8bd5502c0ec2b1a51bf618.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
{