Skip to content

Commit

Permalink
Merge pull request #187 from BuxOrg/feat/BUX-491/AdminDeletePaymail
Browse files Browse the repository at this point in the history
BUX-491: Admin delete paymail
  • Loading branch information
Nazarii-4chain authored Jan 31, 2024
2 parents 7ff322a + 0f975c8 commit f8453fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transports/http_admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func (h *TransportHTTP) AdminDeletePaymail(ctx context.Context, address string)

var model *buxmodels.PaymailAddress
if err := h.doHTTPRequest(
ctx, http.MethodPost, "/admin/paymail/delete", jsonStr, h.xPriv, true, &model,
ctx, http.MethodDelete, "/admin/paymail/delete", jsonStr, h.xPriv, true, &model,
); err != nil {
return nil, err
}
Expand Down

0 comments on commit f8453fa

Please sign in to comment.