Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting from zoom_account_settings fails due to API change #59

Open
heasman-proof opened this issue Nov 5, 2024 · 0 comments · May be fixed by #60
Open

Selecting from zoom_account_settings fails due to API change #59

heasman-proof opened this issue Nov 5, 2024 · 0 comments · May be fixed by #60
Assignees
Labels
bug Something isn't working

Comments

@heasman-proof
Copy link

Describe the bug
Attempting to select from zoom_account_settings fails because the Zoom API has changed and AccountManagedDomains.domains is no longer of type []string.

Steampipe version (steampipe -v)
Steampipe v0.23.2

Plugin version (steampipe plugin list)
1.0.0

To reproduce
Running select * from zoom.zoom_account_settings results in Error: zoom: json: cannot unmarshal object into Go struct field AccountManagedDomains.domains of type string (SQLSTATE HV000).

Expected behavior
Account settings should be returned.

Additional context
Domains is now an array of struct instead of an array of strings, e.g.:

"domains": [
  {"domain":"foo.com","status":"verified"},
  {"domain":"bar.com","status":"verified"}
]

See https://developers.zoom.us/docs/api/accounts/#tag/accounts/GET/accounts/{accountId}/settings

@heasman-proof heasman-proof added the bug Something isn't working label Nov 5, 2024
@misraved misraved self-assigned this Nov 6, 2024
ParthaI added a commit that referenced this issue Nov 28, 2024
…anagedDomains.domains of type string in the table zoom_account_settings Closes #59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants