mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-09-27 11:52:11 +08:00
Fix typos made in ab906d44e2
This commit is contained in:
@@ -193,7 +193,7 @@ func (c *YouTubeClientV3) GetVideos(
|
|||||||
) (_ret *youtube.VideoListResponse, _err error) {
|
) (_ret *youtube.VideoListResponse, _err error) {
|
||||||
logger.Tracef(ctx, "GetVideos")
|
logger.Tracef(ctx, "GetVideos")
|
||||||
defer func() { logger.Tracef(ctx, "/GetVideos: %v", _err) }()
|
defer func() { logger.Tracef(ctx, "/GetVideos: %v", _err) }()
|
||||||
do := c.Service.Videos.List(videoParts).Id(broadcastIDs...).Context(ctx).Do
|
do := c.Service.Videos.List(parts).Id(broadcastIDs...).Context(ctx).Do
|
||||||
return wrapRequestR(ctx, c.RequestWrapper, do)
|
return wrapRequestR(ctx, c.RequestWrapper, do)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -204,17 +204,17 @@ func (c *YouTubeClientV3) UpdateVideo(
|
|||||||
) (_err error) {
|
) (_err error) {
|
||||||
logger.Tracef(ctx, "UpdateVideo")
|
logger.Tracef(ctx, "UpdateVideo")
|
||||||
defer func() { logger.Tracef(ctx, "/UpdateVideo: %v", _err) }()
|
defer func() { logger.Tracef(ctx, "/UpdateVideo: %v", _err) }()
|
||||||
do := c.Service.Videos.Update(videoParts, video).Context(ctx).Do
|
do := c.Service.Videos.Update(parts, video).Context(ctx).Do
|
||||||
return wrapRequestS(ctx, c.RequestWrapper, do)
|
return wrapRequestS(ctx, c.RequestWrapper, do)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *YouTubeClientV3) GetPlaylists(
|
func (c *YouTubeClientV3) GetPlaylists(
|
||||||
ctx context.Context,
|
ctx context.Context,
|
||||||
playlistParts []string,
|
parts []string,
|
||||||
) (_ret *youtube.PlaylistListResponse, _err error) {
|
) (_ret *youtube.PlaylistListResponse, _err error) {
|
||||||
logger.Tracef(ctx, "GetPlaylists")
|
logger.Tracef(ctx, "GetPlaylists")
|
||||||
defer func() { logger.Tracef(ctx, "/GetPlaylists: %v", _err) }()
|
defer func() { logger.Tracef(ctx, "/GetPlaylists: %v", _err) }()
|
||||||
do := c.Service.Playlists.List(playlistParts).MaxResults(1000).Mine(true).Context(ctx).Do
|
do := c.Service.Playlists.List(parts).MaxResults(1000).Mine(true).Context(ctx).Do
|
||||||
return wrapRequestR(ctx, c.RequestWrapper, do)
|
return wrapRequestR(ctx, c.RequestWrapper, do)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user