diff options
Diffstat (limited to 'src/helix/namespaces/videos.rs')
-rw-r--r-- | src/helix/namespaces/videos.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<S: ToString>(self, user_id: &S) -> IterableApiRequest<PaginationContainer<Video>> { use self::by_user; by_user(self.client, user_id) } - pub fn for_game(self, game_id: &GameId) + pub fn for_game<S: ToString>(self, game_id: &S) -> IterableApiRequest<PaginationContainer<Video>> { use self::for_game; for_game(self.client, game_id) |