avinashbot / redd

Redd is a batteries-included API wrapper for reddit.
MIT License
186 stars 75 forks source link

Redd::Models::Comment.from_id throwing key not found :author #89

Open arunsatyarth opened 5 years ago

arunsatyarth commented 5 years ago

Redd::Models::Comment.from_id method is not able to form a comment from an id. It is saying ket not found author

comment=Redd::Models::Comment.from_id reddit_session.client, comment.id

I also tried with comment.name and it gave the same error. Is this the right way to create a comment object or is there something wrong?