Skip to content

Commit

Permalink
Fixed the error cannot unmarshal object into Go struct field AccountM…
Browse files Browse the repository at this point in the history
…anagedDomains.domains of type string in the table zoom_account_settings Closes #59 (#60)
  • Loading branch information
ParthaI authored Nov 29, 2024
1 parent 423aee5 commit 3a16714
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toolchain go1.22.6

require (
github.com/turbot/steampipe-plugin-sdk/v5 v5.10.4
github.com/turbot/zoom-lib-golang v1.4.0
github.com/turbot/zoom-lib-golang v1.4.1
)

require (
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,8 @@ github.com/turbot/go-kit v0.10.0-rc.0 h1:kd+jp2ibbIV33Hc8SsMAN410Dl9Pz6SJ40axbKU
github.com/turbot/go-kit v0.10.0-rc.0/go.mod h1:fFQqR59I5z5JeeBLfK1PjSifn4Oprs3NiQx0CxeSJxs=
github.com/turbot/steampipe-plugin-sdk/v5 v5.10.4 h1:h2Ye0ksL6KN6w2wh1O3mgKthLnyl4QPsTpUj47bRbvc=
github.com/turbot/steampipe-plugin-sdk/v5 v5.10.4/go.mod h1:FzW+0aq4x1PoCkklCRx43dMrhxk7SYeWVHUb3pNFtFc=
github.com/turbot/zoom-lib-golang v1.4.0 h1:IR7ECBw1uIerreozwfiulkWldJVK1/65UIIq1djVQZA=
github.com/turbot/zoom-lib-golang v1.4.0/go.mod h1:ai41bJ7Ux7C0bwbrjynCOvSOBQnT9X58Dy39lfdN17A=
github.com/turbot/zoom-lib-golang v1.4.1 h1:5yb7u4C9gMKXeZNxE0WGE0mjyezUgNCWFtOeIJmgaHw=
github.com/turbot/zoom-lib-golang v1.4.1/go.mod h1:ai41bJ7Ux7C0bwbrjynCOvSOBQnT9X58Dy39lfdN17A=
github.com/ulikunitz/xz v0.5.10 h1:t92gobL9l3HE202wg3rlk19F6X+JOxl9BBrCCMYEYd8=
github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
Expand Down
2 changes: 1 addition & 1 deletion zoom/table_zoom_account_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func getAccountManagedDomains(ctx context.Context, d *plugin.QueryData, h *plugi
}
// Always return an array
if result.Domains == nil {
result.Domains = []string{}
result.Domains = []zoom.Domain{}
}
return result, nil
}

0 comments on commit 3a16714

Please sign in to comment.