Removed useless variable

This commit is contained in:
RadoslavL 2024-08-16 14:11:28 +03:00
parent 26dc9dc99c
commit 69ff6def5f

View File

@ -38,8 +38,7 @@ def parse_related_video(related : JSON::Any) : Hash(String, JSON::Any)?
if published_time_text = related["publishedTimeText"]?
decoded_time = decode_date(published_time_text["simpleText"].to_s)
published = decoded_time.to_unix.to_s
published_time_text = published_time_text["simpleText"].to_s
published = decoded_time.to_unix.to_s
else
published = nil
end