5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 08:11:42 +00:00

fix: usar el método correcto

This commit is contained in:
f 2024-02-22 18:04:56 -03:00
parent f50e2d430d
commit c23d931dd4
No known key found for this signature in database

View file

@ -90,7 +90,7 @@ class DeploySocialDistributedPress < Deploy
response = hook_client.put(event: event, hook: webhook) response = hook_client.put(event: event, hook: webhook)
raise ArgumentError, response.parsed_body unless response.ok? raise ArgumentError, response.body unless response.ok?
rescue ArgumentError => e rescue ArgumentError => e
ExceptionNotifier.notify_exception(e, data: { site_id: site.name, usuarie_id: rol.usuarie_id }) ExceptionNotifier.notify_exception(e, data: { site_id: site.name, usuarie_id: rol.usuarie_id })
end end