From 65279a08ba7ffd0faed2c27d10810f1b7a4ebb3b Mon Sep 17 00:00:00 2001 From: syeopite Date: Mon, 4 Oct 2021 00:46:50 -0700 Subject: [PATCH] Fix lint --- src/invidious/helpers/extractors.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/helpers/extractors.cr b/src/invidious/helpers/extractors.cr index cb26dfcb..e29dbdf5 100644 --- a/src/invidious/helpers/extractors.cr +++ b/src/invidious/helpers/extractors.cr @@ -240,7 +240,7 @@ private module Parsers author_info = item_contents.dig?("shortBylineText", "runs", 0) author = author_info.try &.["text"].as_s || author_fallback.name - author_id = author_info.try {|x| HelperExtractors.get_browse_id(x)} || author_fallback.id + author_id = author_info.try { |x| HelperExtractors.get_browse_id(x) } || author_fallback.id videos = item_contents["videos"]?.try &.as_a.map do |v| v = v["childVideoRenderer"]