@@ -193,7 +193,7 @@ func (c *YouTubeClientV3) GetVideos(
193
193
) (_ret * youtube.VideoListResponse , _err error ) {
194
194
logger .Tracef (ctx , "GetVideos" )
195
195
defer func () { logger .Tracef (ctx , "/GetVideos: %v" , _err ) }()
196
- do := c .Service .Videos .List (videoParts ).Id (broadcastIDs ... ).Context (ctx ).Do
196
+ do := c .Service .Videos .List (parts ).Id (broadcastIDs ... ).Context (ctx ).Do
197
197
return wrapRequestR (ctx , c .RequestWrapper , do )
198
198
}
199
199
@@ -204,17 +204,17 @@ func (c *YouTubeClientV3) UpdateVideo(
204
204
) (_err error ) {
205
205
logger .Tracef (ctx , "UpdateVideo" )
206
206
defer func () { logger .Tracef (ctx , "/UpdateVideo: %v" , _err ) }()
207
- do := c .Service .Videos .Update (videoParts , video ).Context (ctx ).Do
207
+ do := c .Service .Videos .Update (parts , video ).Context (ctx ).Do
208
208
return wrapRequestS (ctx , c .RequestWrapper , do )
209
209
}
210
210
211
211
func (c * YouTubeClientV3 ) GetPlaylists (
212
212
ctx context.Context ,
213
- playlistParts []string ,
213
+ parts []string ,
214
214
) (_ret * youtube.PlaylistListResponse , _err error ) {
215
215
logger .Tracef (ctx , "GetPlaylists" )
216
216
defer func () { logger .Tracef (ctx , "/GetPlaylists: %v" , _err ) }()
217
- do := c .Service .Playlists .List (playlistParts ).MaxResults (1000 ).Mine (true ).Context (ctx ).Do
217
+ do := c .Service .Playlists .List (parts ).MaxResults (1000 ).Mine (true ).Context (ctx ).Do
218
218
return wrapRequestR (ctx , c .RequestWrapper , do )
219
219
}
220
220
0 commit comments