lib/discourse_api/api/topics.rb in discourse_api-0.9.0 vs lib/discourse_api/api/topics.rb in discourse_api-0.9.1

- old
+ new

@@ -11,10 +11,10 @@ post("/posts", args.to_h) end def create_topic_action(args) args = API.params(args) - .required(:topic_id, :post_action_type_id) + .required(:id, :post_action_type_id) post("/post_actions", args.to_h.merge(flag_topic: true)) end def latest_topics(params={}) response = get('/latest.json', params)