Skip to content

Commit

Permalink
Converted Validity start and end from string to time.Time for HTTPReq…
Browse files Browse the repository at this point in the history
…uest
  • Loading branch information
BWPSmith73 committed Apr 12, 2021
1 parent 45be04b commit e2f0235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions events/apigw.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ type APIGatewayV2HTTPRequestContextAuthenticationClientCert struct {

// APIGatewayV2HTTPRequestContextAuthenticationClientCertValidity contains client certificate validity information for the request caller if using mTLS.
type APIGatewayV2HTTPRequestContextAuthenticationClientCertValidity struct {
NotAfter string `json:"notAfter"`
NotBefore string `json:"notBefore"`
NotAfter time.Time `json:"notAfter"`
NotBefore time.Time `json:"notBefore"`
}

// APIGatewayCustomAuthorizerContext represents the expected format of an API Gateway custom authorizer response.
Expand Down

0 comments on commit e2f0235

Please sign in to comment.