We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cdae93 commit a8fbffbCopy full SHA for a8fbffb
events/apigw.go
@@ -161,7 +161,7 @@ type APIGatewayWebsocketProxyRequest struct {
161
StageVariables map[string]string `json:"stageVariables,omitempty"`
162
RequestContext APIGatewayWebsocketProxyRequestContext `json:"requestContext"`
163
Body string `json:"body,omitempty"`
164
- IsBase64Encoded *bool `json:"isBase64Encoded,omitempty"`
+ IsBase64Encoded bool `json:"isBase64Encoded"`
165
}
166
167
// APIGatewayWebsocketProxyRequestContext contains the information to identify
events/testdata/apigw-websocket-request.json
@@ -102,5 +102,6 @@
102
"routeKey": "$connect",
103
"status": "*"
104
},
105
- "body": "{\r\n\t\"a\": 1\r\n}"
+ "body": "{\r\n\t\"a\": 1\r\n}",
106
+ "isBase64Encoded": false
107
0 commit comments