This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user