fix provider context

This commit is contained in:
Jan Husak
2025-11-11 13:53:29 +01:00
parent 0f2a12d84f
commit be79b657d2
2 changed files with 4 additions and 11 deletions

View File

@@ -65,12 +65,9 @@ func (p *bitbucketTokenProvider) Configure(ctx context.Context, req provider.Con
return
}
serverURL := config.ServerURL.ValueString()
authHeader := config.AuthHeader.ValueString()
providerData := ProviderData{
AuthHeader: authHeader,
ServerURL: serverURL,
providerData := &ProviderData{
AuthHeader: config.AuthHeader.ValueString(),
ServerURL: config.ServerURL.ValueString(),
}
resp.DataSourceData = providerData