This commit is contained in:
2016-12-09 18:14:01 +01:00
parent a8463ce344
commit 2bdaf4301e
12 changed files with 131 additions and 23 deletions

View File

@ -144,7 +144,7 @@ namespace Yavsc.WebApi.Controllers
/// <param name="me">MyUpdate containing the new user name </param>
/// <returns>Ok when all is ok.</returns>
[HttpPut("~/api/me")]
public async Task<IActionResult> UpdateMe(MyUpdate me)
public async Task<IActionResult> UpdateMe(UserInfo me)
{
if (!ModelState.IsValid) return new BadRequestObjectResult(
new { error = "Specify some valid user update request." });