I hope it works at this point

This commit is contained in:
RadoslavL 2023-11-14 09:58:37 +02:00
parent 4c486634e2
commit d098e5ae9b

View File

@ -38,7 +38,7 @@ def parse_related_video(related : JSON::Any, published : String? = nil) : Hash(S
publishedText = related["publishedTimeText"]?
if !publishedText.nil?
publishedSimpleText = publishedText["simpleText"]
publishedSimpleText = publishedText["simpleText"].to_s
else
publishedSimpleText = nil
end