Skip to content

Commit

Permalink
Suppress background job being printed out
Browse files Browse the repository at this point in the history
  • Loading branch information
pcgeek86 committed Aug 1, 2023
1 parent 0c82a03 commit 505529c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/Grant-YouTubeOauth.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function Grant-YoutubeOauth {
)

$JobName = 'youtubetempwebserver'
Start-Job -Name $JobName -ScriptBlock {
$null = Start-Job -Name $JobName -ScriptBlock {
Start-PodeServer -ScriptBlock {
Add-PodeEndpoint -Port 8000 -Protocol Http
Add-PodeRoute -Method Get -Path /auth/complete -ScriptBlock {
Expand Down

0 comments on commit 505529c

Please sign in to comment.