Added a route to get a summary of all currencies
This commit is contained in:
@ -53,7 +53,7 @@ namespace IO.Swagger.Controllers
|
||||
[Authorize(AuthenticationSchemes = BearerAuthenticationHandler.SchemeName)]
|
||||
[ValidateModelState]
|
||||
[SwaggerOperation("GetUserBalances")]
|
||||
[ProducesResponseType(typeof(WalletBalanceDto), 200)]
|
||||
[ProducesResponseType(typeof(IEnumerable<WalletBalanceDto>), 200)]
|
||||
public virtual async Task<IActionResult> GetUserBalances()
|
||||
{
|
||||
var userIdString = HttpContext.User.Claims.First(c => c.Type == ClaimTypes.NameIdentifier).Value;
|
||||
|
||||
Reference in New Issue
Block a user