Skip to content

Commit ab1258d

Browse files
committed
docs(comments): remove unneeded todo on poll vote
1 parent 280ff29 commit ab1258d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/epochtalk_server_web/json/thread_json.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ defmodule EpochtalkServerWeb.Controllers.ThreadJSON do
107107
Enum.map(poll.answers, &Map.put(&1, :votes, Enum.count(&1.poll_responses)))
108108
)
109109

110-
# TODO(akinsey): figure out if we need to account for timezone here (i dont think so)
111110
# hide votes if poll is not expired and display mode is set to display votes when expired
112111
now = NaiveDateTime.utc_now() |> NaiveDateTime.truncate(:second)
113112

0 commit comments

Comments
 (0)