Skip to content

Conversation

Lenakh97
Copy link
Contributor

@Lenakh97 Lenakh97 commented Sep 22, 2023

Closes #278

The API response were not considered valid since the possible names in 'plan' did not include the name 'ENTERPRISE' in the validation. In addition the 'serviceID' in 'currentMonthCosts' did not include 'AGPS' in the validation.

'currentMonthCosts' and 'name' is not used in the code, and is removed from the validation.

Update missing properties in the schema: currentMonthCosts, name, serviceKeys
@Lenakh97 Lenakh97 temporarily deployed to ci September 22, 2023 10:23 — with GitHub Actions Inactive
Co-authored-by: Markus Tacker <Markus.Tacker@NordicSemi.no>
@Lenakh97 Lenakh97 temporarily deployed to ci September 22, 2023 10:44 — with GitHub Actions Inactive
@coderbyheart coderbyheart merged commit 1889258 into saga Sep 22, 2023
@coderbyheart coderbyheart deleted the api-validation branch September 22, 2023 10:51
@coderbyheart
Copy link
Member

Thanks!

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.

[nRF Cloud API client] validation not correct for account
2 participants