You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I issue Get-AeriesSection -SchoolCode 6 -Section 140, I get the following error:
Cannot convert value "/140" to type "System.Int32". Error: "Input string was not in a correct format."
At C:\Users\redacted\Documents\WindowsPowerShell\Modules\AeriesApi\1.0.0\Public\Get-AeriesSection.ps1:39 char:13
+ $Endpoint =+ "/$SectionNumber"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvalidCastFromStringToInteger
I suspect that the =+ shown there is supposed to be +=. When I make that change in my local copy of the module, everything works as expected.
The text was updated successfully, but these errors were encountered:
Hi @busdrw! Thanks for submitting this issue along with the fix! I am confirming that I have replicated the issue, and I will be submitting a PR soon to address it.
When I issue
Get-AeriesSection -SchoolCode 6 -Section 140
, I get the following error:I suspect that the
=+
shown there is supposed to be+=
. When I make that change in my local copy of the module, everything works as expected.The text was updated successfully, but these errors were encountered: