lib/redd/models/replyable.rb in redd-0.8.4 vs lib/redd/models/replyable.rb in redd-0.8.5
- old
+ new
@@ -7,10 +7,10 @@
# Add a comment to a link, reply to a comment or reply to a message.
# @param text [String] the text to comment
# @return [Comment, PrivateMessage] The created reply.
def reply(text)
fullname = get_attribute(:name)
- @client.model(:post, '/api/comment/', text: text, thing_id: fullname).first
+ @client.model(:post, '/api/comment', text: text, thing_id: fullname).first
end
end
end
end