Skip to content

Commit

Permalink
Revert MessageID type change
Browse files Browse the repository at this point in the history
  • Loading branch information
kdnakt committed Jan 25, 2024
1 parent a8d57a0 commit 5cdae93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion events/apigw.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ type APIGatewayWebsocketProxyRequestContext struct {
ExtendedRequestID string `json:"extendedRequestId"`
IntegrationLatency string `json:"integrationLatency,omitempty"`
MessageDirection string `json:"messageDirection"`
MessageID *string `json:"messageId,omitempty"`
MessageID string `json:"messageId,omitempty"`
RequestTime string `json:"requestTime"`
RequestTimeEpoch int64 `json:"requestTimeEpoch"`
RouteKey string `json:"routeKey"`
Expand Down
1 change: 0 additions & 1 deletion events/testdata/apigw-websocket-request.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
"extendedRequestId": "TWegAcC4EowCHnA=",
"integrationLatency": "123",
"messageDirection": "IN",
"messageId": "",
"requestTime": "07/Jan/2019:09:20:57 +0000",
"requestTimeEpoch": 0,
"routeKey": "$connect",
Expand Down

0 comments on commit 5cdae93

Please sign in to comment.