Skip to content

Conversation

pedrolti0
Copy link

Line 89 :
$count = [int] $response.Headers["X-Total-Count"][0]
Count value is not correct due to the [0]

Good value with :
$count = [int] $response.Headers["X-Total-Count"]

Line 89 :
$count = [int] $response.Headers["X-Total-Count"][0]
Value is not correct due to the [0]

Good value with : 
$count = [int] $response.Headers["X-Total-Count"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant