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:
parent
f50e2d430d
commit
c23d931dd4
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class DeploySocialDistributedPress < Deploy
|
|||
|
||||
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
|
||||
ExceptionNotifier.notify_exception(e, data: { site_id: site.name, usuarie_id: rol.usuarie_id })
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue