lib/ayadn/api.rb in ayadn-0.6.3 vs lib/ayadn/api.rb in ayadn-0.6.4
- old
+ new
@@ -23,11 +23,11 @@
getHash
end
def getGlobal(last_page_id)
@url = @endpoints.global
- @url += @endpoints.light_params
+ @url += @endpoints.base_params
@url += @endpoints.include_directed if $tools.config['timeline']['directed']
checkLastPageID(last_page_id)
getHash
end
def getUnified(last_page_id)
@@ -90,10 +90,10 @@
@url += @endpoints.base_params
getHash
end
def getSinglePost(post_id)
@url = @endpoints.single_post(post_id)
- @url += @endpoints.base_params
+ @url += @endpoints.light_params
getHash
end
def getStarredPosts(username)
@url = @endpoints.starred_posts(username)
@url += @endpoints.light_params
\ No newline at end of file