diff --git a/app/models/deploy_distributed_press.rb b/app/models/deploy_distributed_press.rb index 7876b5cf..53875813 100644 --- a/app/models/deploy_distributed_press.rb +++ b/app/models/deploy_distributed_press.rb @@ -160,7 +160,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 })