-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
Hello!
I am trying to enable a webhook endpoint that is currently disabled with one of these:
(byebug) ChargeBee::WebhookEndpoint.update(id, url: new_uri.to_s, disabled: false)
#<ChargeBee::Result:0x000000010e945408 @response={:webhook_endpoint=>{:api_version=>"v2", :id=>"REDACTED", :name=>"REDACTED", :disabled=>true, …}, @http_status_code=200>
(byebug) ChargeBee::WebhookEndpoint.update(id, { url: new_uri.to_s, disabled: false })
#<ChargeBee::Result:0x000000010efb8a88 @response={:webhook_endpoint=>{:api_version=>"v2", :id=>"REDACTED", :name=>"REDACTED", :disabled=>true, …}, @http_status_code=200>
Expected behavior
- response includes
disabled: false - UI shows the endpoint as activated
Actual behavior
- response includes
disabled: true - UI still shows the endpoint as deactivated
In effect, the parameter is ignored. Not sure if it's of any relevance, the url is the same as before.
Metadata
Metadata
Assignees
Labels
No labels