Skip to content

Commit

Permalink
The links are not always there.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Jul 3, 2019
1 parent 3f45de2 commit 315401f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@

@data.map do |run|
[
run["videos"]["links"].map { |link| link["uri"] },
run["videos"]["links"]&.map { |link| link["uri"] },
run["videos"]["text"],
run["comment"],
].flatten.compact.map(&:grep_urls)
Expand Down

0 comments on commit 315401f

Please sign in to comment.