From 96715ceb58b24ee7220d98e421701daa550f44db Mon Sep 17 00:00:00 2001 From: David Blajda Date: Sun, 3 Feb 2019 22:30:15 +0000 Subject: Add Helix and Kraken scopes. Client Config and allow injecting of responses --- src/helix/namespaces/videos.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/helix/namespaces/videos.rs') diff --git a/src/helix/namespaces/videos.rs b/src/helix/namespaces/videos.rs index 9f2fd2b..b603b8f 100644 --- a/src/helix/namespaces/videos.rs +++ b/src/helix/namespaces/videos.rs @@ -13,13 +13,13 @@ impl VideosNamespace { by_id(self.client, ids) } - pub fn by_user(self, user_id: &UserId) + pub fn by_user(self, user_id: &S) -> IterableApiRequest> { use self::by_user; by_user(self.client, user_id) } - pub fn for_game(self, game_id: &GameId) + pub fn for_game(self, game_id: &S) -> IterableApiRequest> { use self::for_game; for_game(self.client, game_id) -- cgit v1.2.3