5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 04:56:22 +00:00

fixup! feat: indicarle a distributed press que elimine el sitio

This commit is contained in:
f 2023-03-31 13:40:50 -03:00
parent 786aba5552
commit 38a8ad1e1d

View file

@ -158,7 +158,7 @@ class DeployDistributedPress < Deploy
end end
def delete_remote_site! def delete_remote_site!
site_client.destroy(publishing_site) site_client.delete(publishing_site)
nil nil
rescue DistributedPress::V1::Error => e rescue DistributedPress::V1::Error => e
ExceptionNotifier.notify_exception(e, data: { site: site.name }) ExceptionNotifier.notify_exception(e, data: { site: site.name })