Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
update go-auth to use options
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkappa committed Jul 6, 2018
1 parent 2976be9 commit 36414e4
Show file tree
Hide file tree
Showing 10 changed files with 83 additions and 22 deletions.
4 changes: 2 additions & 2 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auth0/resource_auth0_email.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func createEmail(d *schema.ResourceData, m interface{}) error {

func readEmail(d *schema.ResourceData, m interface{}) error {
api := m.(*management.Management)
e, err := api.Email.Read()
e, err := api.Email.Read(management.WithFields("name", "enabled", "default_from_address", "credentials"))
if err != nil {
return err
}
Expand Down
4 changes: 2 additions & 2 deletions vendor/github.com/yieldr/go-auth0/management/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/github.com/yieldr/go-auth0/management/connection.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/github.com/yieldr/go-auth0/management/custom_domain.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/github.com/yieldr/go-auth0/management/email.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

71 changes: 66 additions & 5 deletions vendor/github.com/yieldr/go-auth0/management/management.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/github.com/yieldr/go-auth0/management/rule.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 36414e4

Please sign in to comment.