Skip to content

Commit

Permalink
Remove index from the values
Browse files Browse the repository at this point in the history
  • Loading branch information
logankilpatrick authored May 16, 2022
1 parent 29e1939 commit 4002f0b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/StackOverflowBot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ thirtyMinsAgo = currenttime - 1800 #rewind 30 minutes since that's the frequency
posts = getrecentquestionsfortag(fromdate = string(thirtyMinsAgo), todate = string(currenttime))

for question in posts
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

data = Dict("attachments" => [Dict("color" => "#36a64f",
"title" => "$(string(title))",
Expand Down

0 comments on commit 4002f0b

Please sign in to comment.