Skip to content

Commit

Permalink
bug fix empty results
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Jan 20, 2025
1 parent b27c371 commit b55e63d
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using namespace System.Net

Function invoke-ListEmptyResults {
<#
.FUNCTIONALITY
Entrypoint - Purposely lists an empty result
.ROLE
CIPP.Core
#>
[CmdletBinding()]
param($Request, $TriggerMetadata)


Push-OutputBinding -Name Response -Value ([HttpResponseContext]@{
StatusCode = [HttpStatusCode]::OK
Body = @()
})

}

0 comments on commit b55e63d

Please sign in to comment.