From 5133eb102234b4f5fb323b39a20f7173dc9cfc4f Mon Sep 17 00:00:00 2001 From: f Date: Tue, 26 Mar 2024 12:43:58 -0300 Subject: [PATCH] fix: error de sintaxis --- app/services/site_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/site_service.rb b/app/services/site_service.rb index 934a73f4..d148185a 100644 --- a/app/services/site_service.rb +++ b/app/services/site_service.rb @@ -95,7 +95,7 @@ SiteService = Struct.new(:site, :usuarie, :params, keyword_init: true) do Site.transaction do raise ActiveRecord::Rollback if File.exists?(site.path) - FileUtils.mv (site.path_was, site.path) + FileUtils.mv(site.path_was, site.path) moved = true ActiveStorage::Blob.where(service_name: site.name_was).update_all(service_name: site.name) site.save