lib/ayadn/post.rb in ayadn-1.4.0 vs lib/ayadn/post.rb in ayadn-1.4.1

- old
+ new

@@ -40,12 +40,10 @@ def send_reply_embedded_pictures dic send_content(Endpoints.new.posts_url, payload_reply_embedded(dic)) end def send_pm_embedded_pictures dic - url = Endpoints.new.pm_url - url << "?include_annotations=1&access_token=#{Ayadn::Settings.user_token}" - send_content(url, payload_pm_embedded(dic)) + send_content(Endpoints.new.pm_url, payload_pm_embedded(dic)) end def send_nowplaying dic send_content(Endpoints.new.posts_url, payload_nowplaying(dic)) end