Skip to content

Commit

Permalink
correction to location of if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Aug 9, 2023
1 parent 06580bb commit ec7a641
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Modules/CIPPCore/Public/Invoke-CIPPWebhookProcessing.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ function Invoke-CippWebhookProcessing {
Write-Host "Add IP and potential location to knownlocation db for this specific user"

if ($data.ClientIP) {
$LocationTable = Get-CIPPTable -TableName 'knownlocationdb'
$IP = $data.ClientIP.Split(':') | Select-Object -Last 1
$LocationInfo = @{
RowKey = [string]$ip
Expand Down

0 comments on commit ec7a641

Please sign in to comment.