Skip to content

Commit

Permalink
Merge pull request #73 from cerberauth/fix-vulnapi-ua
Browse files Browse the repository at this point in the history
fix: change the vulnapi ua
  • Loading branch information
emmanuelgautier authored Mar 25, 2024
2 parents 163b2f8 + a35cf06 commit 7e172a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/request/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (r *Request) WithSecurityScheme(ss *auth.SecurityScheme) *Request {
}

func (r *Request) Do() (*http.Response, error) {
r.Header.Set("User-Agent", "MyProject")
r.Header.Set("User-Agent", "vulnapi")

if securityScheme := *r.SecurityScheme; securityScheme != nil {
for _, c := range securityScheme.GetCookies() {
Expand Down

0 comments on commit 7e172a4

Please sign in to comment.