From 8baf2bf54fa70aa06fe96646b590480a5c31f8c9 Mon Sep 17 00:00:00 2001 From: Cole Frederick Date: Sun, 27 Nov 2016 22:19:38 -0700 Subject: [PATCH] Update to new watch endpoint As per https://developer.github.com/v3/activity/watching/#list-repositories-being-watched --- src/tentacles/repos.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tentacles/repos.clj b/src/tentacles/repos.clj index 7c5e95a..1042253 100644 --- a/src/tentacles/repos.clj +++ b/src/tentacles/repos.clj @@ -294,7 +294,7 @@ (defn watching "List all the repositories that a user is watching." [user & [options]] - (api-call :get "users/%s/watched" [user] options)) + (api-call :get "users/%s/subscriptions" [user] options)) (defn watching? "Check if you are watching a repository."