Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 0 additions & 54 deletions src/functions/private/Utilities/Web/ConvertTo-QueryString.ps1

This file was deleted.

6 changes: 4 additions & 2 deletions src/functions/public/API/Invoke-GitHubAPI.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
filter Invoke-GitHubAPI {
#Requires -Modules @{ ModuleName = 'Web'; RequiredVersion = '1.0.0' }

filter Invoke-GitHubAPI {
<#
.SYNOPSIS
Calls the GitHub API using the provided parameters.
Expand Down Expand Up @@ -160,7 +162,7 @@
Write-Debug "Setting per_page to the default value in context [$($Context.PerPage)]."
$Body['per_page'] = $Context.PerPage
}
$queryString = $Body | ConvertTo-QueryString
$queryString = $Body | ConvertTo-WebQueryString
$APICall.Uri = $APICall.Uri + $queryString
} elseif ($Body -is [string]) {
# Use body to create the form data
Expand Down