Fix build
This commit is contained in:
parent
7b487bc137
commit
94ca5da794
|
@ -21,7 +21,7 @@ public class UserController : Controller {
|
|||
[ProducesResponseType(StatusCodes.Status200OK, Type = typeof(UserResponse))]
|
||||
[ProducesResponseType(StatusCodes.Status400BadRequest, Type = typeof(ErrorResponse))]
|
||||
[ProducesResponseType(StatusCodes.Status404NotFound, Type = typeof(ErrorResponse))]
|
||||
[SwaggerResponseExample(400, typeof(new )]
|
||||
//[SwaggerResponseExample(400, typeof(new )]
|
||||
[Route("/api/user/{uid:int}/name")]
|
||||
public async Task<IActionResult> Rename(int uid, [FromQuery] string newName) {
|
||||
var db = new Database.DbConn();
|
||||
|
|
Loading…
Reference in a new issue