diff --git a/lib/se/api/types/comment.rb b/lib/se/api/types/comment.rb index ec5f594..c63a453 100644 --- a/lib/se/api/types/comment.rb +++ b/lib/se/api/types/comment.rb @@ -12,7 +12,7 @@ def initialize(item_json) @score = item_json["score"].to_i @type = item_json["post_type"] @id = item_json["comment_id"].to_i - @created_at = item_json["creation"] + @created_at = item_json["creation_date"] #@author = User.new(item_json["owner"]) end end