Fix build

This commit is contained in:
Laura Hausmann 2023-02-07 23:02:35 +01:00
parent 7b487bc137
commit 94ca5da794
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -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();