Skip to content

Commit

Permalink
Update Get-DuoEndpoints.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDuprey committed Jun 29, 2023
1 parent 44372e6 commit 80b797b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DuoSecurity/Public/Admin API/Endpoints/Get-DuoEndpoints.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ function Get-DuoEndpoints {

process {
if ($BypassCodeId) {
$Path = '/admin/v1/bypass_codes/{0}' -f $BypassCodeId
$Path = '/admin/v1/endpoints/{0}' -f $BypassCodeId
} else {
$Path = '/admin/v1/bypass_codes'
$Path = '/admin/v1/endpoints'
}

$DuoRequest = @{
Expand Down

0 comments on commit 80b797b

Please sign in to comment.