mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-29 15:06:22 +00:00
fix: corregido espacio extra en linea 102 #13077
This commit is contained in:
parent
a1daa759ec
commit
682735db19
1 changed files with 2 additions and 2 deletions
|
@ -97,9 +97,9 @@ SiteService = Struct.new(:site, :usuarie, :params, keyword_init: true) do
|
|||
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
|
||||
site.save
|
||||
rescue StandardError
|
||||
FileUtils.mv (site.path, site.path_was) if moved
|
||||
FileUtils.mv(site.path, site.path_was) if moved
|
||||
raise
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue