Skip to content

Commit

Permalink
Rename!
Browse files Browse the repository at this point in the history
  • Loading branch information
thekamilpro committed Nov 1, 2022
1 parent 366c4ae commit 70ae2e4
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 2 deletions.
16 changes: 16 additions & 0 deletions src/public/Get-PwpushPush.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function Get-Pwpush
{
[cmdletbinding()]
param (
[Parameter(Mandatory)]
[string]$UrlToken
)

$endpoint = "p/$($UrlToken).json"

$params = @{
Endpoint = $endpoint
Method = "Get"
}
Invoke-PwpushRequest @params
}
16 changes: 16 additions & 0 deletions src/public/Get-PwpushPushPreview.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function Get-PwpushPreview
{
[cmdletbinding()]
param (
[Parameter(Mandatory)]
[string]$UrlToken
)

$endpoint = "p/$($UrlToken)/preview.json"

$params = @{
Endpoint = $endpoint
Method = "Get"
}
Invoke-PwpushRequest @params
}
2 changes: 1 addition & 1 deletion src/public/New-PwpushPush.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function New-PwpushPush
function New-Pwpush
{
[cmdletbinding()]
param (
Expand Down
2 changes: 1 addition & 1 deletion src/public/Remove-PwpushPush.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Remove-PwpushPush
function Remove-Pwpush
{
[cmdletbinding()]
param (
Expand Down

0 comments on commit 70ae2e4

Please sign in to comment.