Added a route to get a summary of all currencies

This commit is contained in:
2023-08-19 18:25:17 -04:00
parent ff327d0a03
commit 1fedd4d016
7 changed files with 58 additions and 12 deletions

View File

@ -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;