Skip to content

Commit 5cdae93

Browse files
committed
Revert MessageID type change
1 parent a8d57a0 commit 5cdae93

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

events/apigw.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ type APIGatewayWebsocketProxyRequestContext struct {
185185
ExtendedRequestID string `json:"extendedRequestId"`
186186
IntegrationLatency string `json:"integrationLatency,omitempty"`
187187
MessageDirection string `json:"messageDirection"`
188-
MessageID *string `json:"messageId,omitempty"`
188+
MessageID string `json:"messageId,omitempty"`
189189
RequestTime string `json:"requestTime"`
190190
RequestTimeEpoch int64 `json:"requestTimeEpoch"`
191191
RouteKey string `json:"routeKey"`

events/testdata/apigw-websocket-request.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
"extendedRequestId": "TWegAcC4EowCHnA=",
9898
"integrationLatency": "123",
9999
"messageDirection": "IN",
100-
"messageId": "",
101100
"requestTime": "07/Jan/2019:09:20:57 +0000",
102101
"requestTimeEpoch": 0,
103102
"routeKey": "$connect",

0 commit comments

Comments
 (0)