Skip to content

Commit

Permalink
Fix indexing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
logankilpatrick authored May 18, 2022
1 parent 4002f0b commit 6eef60c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/RePostStackOverflow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ for question in posts
flag_holder = true
end

link = question.link[1]
view_count = question.view_count[1]
owner = question.owner[1]
score = question.score[1]
title = question.title[1]
answer_count = question.answer_count[1]
link = question.link
view_count = question.view_count
owner = question.owner
score = question.score
title = question.title
answer_count = question.answer_count
if (answer_count == 0)
data = Dict("attachments" => [Dict("color" => "#fd1919",
"title" => "$(string(title))",
Expand Down

0 comments on commit 6eef60c

Please sign in to comment.