Skip to content

Commit

Permalink
Update Get-YouTubeCommentThread.ps1
Browse files Browse the repository at this point in the history
Add empty check for next page token 🐛
  • Loading branch information
pcgeek86 authored Aug 1, 2023
1 parent 5f4bebc commit 497c4cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/Get-YouTubeCommentThread.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ function Get-YouTubeCommentThread {
[int] $MaxResults = 100,
[Parameter(Mandatory = $false, ParameterSetName = 'VideoId')]
[Parameter(Mandatory = $false, ParameterSetName = 'ChannelRelated')]
[ValidateNotNullOrEmpty()]
[string] $PageToken = ''
)

Expand Down

0 comments on commit 497c4cd

Please sign in to comment.