v4.2.4 #55

Merged
asonix merged 28 commits from asonix/changes into asonix/downstream 2024-01-29 19:44:14 +00:00
Showing only changes of commit 279be07679 - Show all commits

View file

@ -100,7 +100,7 @@ class FetchOEmbedService
end
def validate(oembed)
oembed if oembed[:version].to_s == '1.0' && oembed[:type].present?
oembed if oembed.present? && oembed[:version].to_s == '1.0' && oembed[:type].present?
end
def html