Skip to content

Commit

Permalink
fix headers for patch request
Browse files Browse the repository at this point in the history
  • Loading branch information
lenaunderwood22 committed Mar 27, 2024
1 parent b4262a3 commit 0fa1af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/spf/record.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func UpdateSPFRecord(rootDomain, flatSPF, url, authEmail, authKey string) error
}
req.Header.Add("Content-Type", "application/json")
req.Header.Add("X-Auth-Email", authEmail)
req.Header.Add("X-Auth-Key", authKey)
req.Header.Add("Authorization", "Bearer "+authKey)

res, err := http.DefaultClient.Do(req)
if err != nil {
Expand Down

0 comments on commit 0fa1af3

Please sign in to comment.