Skip to content

Commit

Permalink
Update provider.go
Browse files Browse the repository at this point in the history
  • Loading branch information
akmal-spacelift authored Sep 18, 2024
1 parent 467f4b7 commit 6908b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spacelift/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ func buildClientFromAPIKeyData(d *schema.ResourceData) (*internal.Client, error)

// Handle / at api_key_endpoint
endpoint := strings.TrimSuffix(d.Get("api_key_endpoint").(string), "/")
endpiont = fmt.Sprintf("%s/graphql", endpoint)
endpoint = fmt.Sprintf("%s/graphql", endpoint)

apiKeyID := d.Get("api_key_id").(string)
apiKeySecret := d.Get("api_key_secret").(string)
Expand Down

0 comments on commit 6908b3f

Please sign in to comment.