Fix duplicate invoke pax8
This commit is contained in:
2
main.ps1
2
main.ps1
@@ -17,7 +17,7 @@ Write-Host "[INFO] MSAL.PS module loaded."
|
|||||||
$urls = @{
|
$urls = @{
|
||||||
autotask = "https://git.svstools.com/cpayne/InstaClientPS/raw/branch/main/tools/autotask.ps1"
|
autotask = "https://git.svstools.com/cpayne/InstaClientPS/raw/branch/main/tools/autotask.ps1"
|
||||||
datto = "https://git.svstools.com/cpayne/InstaClientPS/raw/branch/main/tools/dattormm.ps1"
|
datto = "https://git.svstools.com/cpayne/InstaClientPS/raw/branch/main/tools/dattormm.ps1"
|
||||||
pax8 = "https://git.svstools.com/cpayne/InstaClientPS/raw/branch/main/tools/pax8.ps1"
|
pax8 = "https://git.svstools.com/cpayne/InstaClientPS/raw/branch/main/tools/pax8.ps1"
|
||||||
config = "https://git.svstools.com/cpayne/InstaClientPS/raw/branch/main/config.ps1"
|
config = "https://git.svstools.com/cpayne/InstaClientPS/raw/branch/main/config.ps1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -81,7 +81,4 @@ function Invoke-Pax8Provision {
|
|||||||
} catch {
|
} catch {
|
||||||
throw "[PAX8] Company creation failed: $($_.Exception.Message)"
|
throw "[PAX8] Company creation failed: $($_.Exception.Message)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Entrypoint if sourced
|
|
||||||
Invoke-Pax8Provision -CompanyName $CompanyName -Phone $Phone -Website $Website -Street $Street -City $City -Province $Province -PostalCode $PostalCode -Country $Country -Credentials $Credentials
|
|
||||||
Reference in New Issue
Block a user