Skip to content

Commit

Permalink
feat(SPV-1341): fix error type format
Browse files Browse the repository at this point in the history
  • Loading branch information
dzolt-4chain committed Jan 20, 2025
1 parent 9477c7b commit 98f27a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ func (a *AdminAPI) DeletePaymail(ctx context.Context, id string) error {
err := a.paymailsAPI.DeletePaymail(ctx, id)
if err != nil {
msg := fmt.Sprintf("remove paymail address with id: %s", id)
return errutil.NewHTTPErrorFormatter(constants.AdminPaymailAPI, msg, err).FormatGetErr()
return errutil.NewHTTPErrorFormatter(constants.AdminPaymailAPI, msg, err).FormatDeleteErr()
}

return nil
Expand Down

0 comments on commit 98f27a1

Please sign in to comment.