Skip to content

Commit

Permalink
feat(SPV-848): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-4chain committed Jul 9, 2024
1 parent 216e65c commit 4f2f54b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions http.go
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ func (wc *WalletClient) AdminSubscribeWebhook(ctx context.Context, webhookURL, t
if err != nil {
return WrapError(err)
}
err = wc.doHTTPRequest(ctx, http.MethodPost, "/admin/webhooks/subscribtion", rawJSON, wc.adminXPriv, true, nil)
err = wc.doHTTPRequest(ctx, http.MethodPost, "/admin/webhooks/subscription", rawJSON, wc.adminXPriv, true, nil)
return WrapError(err)
}

Expand All @@ -1157,6 +1157,6 @@ func (wc *WalletClient) AdminUnsubscribeWebhook(ctx context.Context, webhookURL
if err != nil {
return WrapError(err)
}
err = wc.doHTTPRequest(ctx, http.MethodDelete, "/admin/webhooks/subscribtion", rawJSON, wc.adminXPriv, true, nil)
err = wc.doHTTPRequest(ctx, http.MethodDelete, "/admin/webhooks/subscription", rawJSON, wc.adminXPriv, true, nil)
return err
}

0 comments on commit 4f2f54b

Please sign in to comment.