Skip to content

Commit

Permalink
chore: remove unnecessary usd in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Jan 10, 2025
1 parent f4be16b commit 719b616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/alby_http_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (albyHttpSvc *AlbyHttpService) albyBitcoinRateHandler(c echo.Context) error
if err != nil {
logger.Logger.WithError(err).Error("Failed to get Bitcoin rate")
return c.JSON(http.StatusInternalServerError, ErrorResponse{
Message: fmt.Sprintf("Failed to get Bitcoin rate for currency %s: %s", "usd", err.Error()),
Message: fmt.Sprintf("Failed to get Bitcoin rate: %s", err.Error()),
})
}
return c.JSON(http.StatusOK, rate)
Expand Down

0 comments on commit 719b616

Please sign in to comment.