Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TransIP provider #921

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Set user agent
  • Loading branch information
LucaScorpion committed Jan 21, 2025
commit 52663a43ef4ad3f8516036c87839c4aadfc4a74c
1 change: 1 addition & 0 deletions internal/provider/providers/transip/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ func (p *Provider) createAccessToken(ctx context.Context, client *http.Client) (
if err != nil {
return "", fmt.Errorf("creating http request: %w", err)
}
headers.SetUserAgent(request)
headers.SetContentType(request, "application/json")

privateKey, err := parsePrivateKey(p.key)
Expand Down