lib/iwoca/webhooks.rb in iwoca-1.1.0 vs lib/iwoca/webhooks.rb in iwoca-1.1.1

- old
+ new

@@ -63,17 +63,9 @@ json[:data][:subscriptions] = subscriptions connection.post('subscriptions/', json) end - { - "data": { - "webhook_event_types": [ - "approval_status_changed" - ] - } - } - def self.unsubscribe(event_types:) json = {} connection.delete('subscriptions/', json) end