lib/github_api/repos/watching.rb in github_api-0.6.3 vs lib/github_api/repos/watching.rb in github_api-0.6.4
- old
+ new
@@ -33,10 +33,9 @@
# github.repos.watching.watched
#
def watched(*args)
params = args.extract_options!
normalize! params
- _merge_user_into_params!(params) unless params.has_key?('user')
response = if (user_name = params.delete('user'))
get_request("/users/#{user_name}/watched", params)
else
get_request("/user/watched", params)