Skip to content

Commit

Permalink
fix: pass down reference for ImgixClient
Browse files Browse the repository at this point in the history
  • Loading branch information
emhagman committed Mar 27, 2023
1 parent f0b2056 commit 160df70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func providerConfigure(ctx context.Context, d *schema.ResourceData) (interface{}
token := d.Get("token").(string)
var diags diag.Diagnostics
if token != "" {
c := ImgixClient{}
c := &ImgixClient{}
c.SetAuthToken(token)
return c, diags
}
Expand Down

0 comments on commit 160df70

Please sign in to comment.