roles
This commit is contained in:
parent
ec08905e9e
commit
1aaf2bd102
12 changed files with 131 additions and 23 deletions
|
|
@ -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." });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue