Skip to content

Commit

Permalink
Fix the SecurityDetails js names
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur22 authored and inancgumus committed Feb 24, 2025
1 parent 0ded720 commit 1601f55
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions internal/js/modules/k6/browser/common/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,12 +393,12 @@ type RemoteAddress struct {

// SecurityDetails contains informationa about the security details of a TLS connection.
type SecurityDetails struct {
SubjectName string `json:"subjectName"`
Issuer string `json:"issuer"`
ValidFrom int64 `json:"validFrom"`
ValidTo int64 `json:"validTo"`
Protocol string `json:"protocol"`
SANList []string `json:"sanList"`
SubjectName string `json:"subjectName" js:"subjectName"`
Issuer string `json:"issuer" js:"issuer"`
ValidFrom int64 `json:"validFrom" js:"validFrom"`
ValidTo int64 `json:"validTo" js:"validTo"`
Protocol string `json:"protocol" js:"protocol"`
SANList []string `json:"sanList" js:"sanList"`
}

// Response represents a browser HTTP response.
Expand Down

0 comments on commit 1601f55

Please sign in to comment.