This commit is contained in:
2019-04-30 19:41:00 +00:00
parent 0be48bebb3
commit ae791ec366
20 changed files with 63 additions and 55 deletions

View File

@@ -136,7 +136,7 @@ namespace AyaNova.Api.Controllers
}
return Ok(new ApiOkResponse(new
return Ok(ApiOkResponse.Response(new
{
token = TestToken
}, true));
@@ -210,7 +210,7 @@ namespace AyaNova.Api.Controllers
//TODO: This needs to return the authorization roles of the user in the payload and it should all be in the token
//and remove the issued, expires id etc so that all that is returned is an encoded token with that info in it
return Ok(new ApiOkResponse(new
return Ok(ApiOkResponse.Response(new
{
// ok = 1,
// issued = iat,