Fix variable name (#30924)

This commit is contained in:
Felix Becker 2022-02-09 14:21:00 -08:00 committed by GitHub
parent e2c2aa699b
commit 9558d3c630
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,8 +63,8 @@ switch ($github.event_name) {
New-SlackMessageAttachment `
-Pretext $message `
-Color $color `
-AuthorName $issue.content.author.login `
-AuthorIcon $issue.content.author.avatarUrl `
-AuthorName $item.content.author.login `
-AuthorIcon $item.content.author.avatarUrl `
-Title "#$($item.content.number) $($item.content.title)" `
-TitleLink $item.content.url `
-Text $item.content.bodyText.Substring(0, [System.Math]::Min(1000, $item.content.bodyText.Length)) `