Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Dec 16, 2024
1 parent bffd22c commit 27dfccb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Get-CurrentSherwebSubscription {
function Get-SherwebCurrentSubscription {
param(
[Parameter(Mandatory = $true)]
[string]$CustomerId,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
function Get-SherwebOrderStatus {
param(
[Parameter(Mandatory = $true)]
[string]$ClientId,
[Parameter(Mandatory = $true)]
[string]$ClientSecret,
[Parameter(Mandatory = $true)]
[string]$SubscriptionKey,
[Parameter(Mandatory = $true)]
[string]$RequestTrackingId
)
$AuthHeader = Get-SherwebAuthentication -ClientId $ClientId -ClientSecret $ClientSecret -SubscriptionKey $SubscriptionKey
$AuthHeader = Get-SherwebAuthentication
$Uri = "https://api.sherweb.com/service-provider/v1/tracking/$RequestTrackingId"
$Tracking = Invoke-RestMethod -Uri $Uri -Method GET -Headers $AuthHeader
return $Tracking
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function Remove-SherwebSubscription {

$AuthHeader = Get-SherwebAuthentication
$Body = ConvertTo-Json -Depth 10 -InputObject @{
subscriptionIds = $SubscriptionIds
subscriptionIds = @($SubscriptionIds)
}

$Uri = "https://api.sherweb.com/service-provider/v1/billing/subscriptions/cancellations?customerId=$CustomerId"
Expand Down

0 comments on commit 27dfccb

Please sign in to comment.