From 38a8ad1e1d4b8ff6d5d0bda6b5a8e8270e6acf22 Mon Sep 17 00:00:00 2001 From: f Date: Fri, 31 Mar 2023 13:40:50 -0300 Subject: [PATCH] fixup! feat: indicarle a distributed press que elimine el sitio --- app/models/deploy_distributed_press.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/deploy_distributed_press.rb b/app/models/deploy_distributed_press.rb index 3d101204..5ae4bb43 100644 --- a/app/models/deploy_distributed_press.rb +++ b/app/models/deploy_distributed_press.rb @@ -158,7 +158,7 @@ class DeployDistributedPress < Deploy end def delete_remote_site! - site_client.destroy(publishing_site) + site_client.delete(publishing_site) nil rescue DistributedPress::V1::Error => e ExceptionNotifier.notify_exception(e, data: { site: site.name })