Merge commit 'ae4f80ee5721465dc55a08b70a9792e9db763459' into glitch-soc/merge-upstream
This commit is contained in:
commit
93e623a1e5
1 file changed
+1
-1
@@ -42,7 +42,7 @@ class BackupService < BaseService
|
||||
|
||||
unless item[:type] == 'Announce' || item[:object][:attachment].blank?
|
||||
item[:object][:attachment].each do |attachment|
|
||||
attachment[:url] = Addressable::URI.parse(attachment[:url]).path.delete_prefix('/system/')
|
||||
attachment[:url] = Addressable::URI.parse(attachment[:url]).path.delete_prefix('/system/') if attachment[:url].present?
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user