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

- old
+ new

@@ -7,10 +7,10 @@ post("/posts", args) end def create_post_action(args) args = API.params(args) - .required(:post_id, :post_action_type_id) + .required(:id, :post_action_type_id) post("/post_actions", args.to_h.merge(flag_topic: false)) end def get_post(id, args = {}) args = API.params(args)