We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff16a15 commit acb8b0fCopy full SHA for acb8b0f
PSZoom/Public/Users/New-ZoomUser.ps1
@@ -88,7 +88,7 @@ function New-ZoomUser {
88
)
89
90
process {
91
- $request = [System.UriBuilder]'https://api.$ZoomURI/v2/users'
+ $request = [System.UriBuilder]"https://api.$ZoomURI/v2/users"
92
93
#Request Body
94
$requestBody = @{
@@ -151,7 +151,7 @@ function New-ZoomUser {
151
$requestBody = $requestBody | ConvertTo-Json
152
153
if ($PScmdlet.ShouldProcess) {
154
- $response = Invoke-ZoomRestMethod -Uri $request.Uri -Body $RequestBody -Method POST
+ $response = Invoke-ZoomRestMethod -Uri $request.Uri -Body $requestBody -Method POST
155
156
if ($passthru) {
157
Write-Output $Email
0 commit comments