Skip to content

Commit

Permalink
fix a response
Browse files Browse the repository at this point in the history
  • Loading branch information
Thykof committed Jan 4, 2024
1 parent d68ff97 commit faa215a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion int/api/cmd/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func amountToString(amount models.Amount, defaultValue uint64) (string, middlewa

amountString, err := sendOperation.NanoToMas(amountUint64)
if err != nil {
return "", operations.NewCmdReadOnlyExecuteSCBadRequest().WithPayload(
return "", operations.NewCmdReadOnlyCallSCBadRequest().WithPayload(
&models.Error{
Code: errorInvalidArgs,
Message: "Error during amount conversion: " + err.Error(),
Expand Down

0 comments on commit faa215a

Please sign in to comment.