aws / Jobs-for-AWS-IoT-embedded-sdk

Client library for using AWS IoT Jobs service on embedded devices
MIT License
12 stars 35 forks source link

matchIdApi was not considering $next as a valid ID. Added a check. #35

Closed mtalreja-a closed 3 years ago

mtalreja-a commented 3 years ago

Moved isNextJobId to above the matchIdApi function since there's no forward declaration.

Issue #, if available: None

Description of changes: The current matchIdApi was only checking for valid characters. Added a check to see if $next was being returned in the Id.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.