Skip to content

Commit 2382b56

Browse files
Expose raw event
1 parent 8febc8d commit 2382b56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func main() {
4242
cfg := &demux.Cfg{
4343
Factories: []demux.Factory{
4444
func(ctx *demux.EventContext) any {
45-
if demux.HasAttribute(ctx.event, "connectionId") {
45+
if demux.HasAttribute(ctx.Event, "connectionId") {
4646
return &events.APIGatewayWebsocketProxyRequest{}
4747
}
4848
return &events.APIGatewayProxyRequest{}

0 commit comments

Comments
 (0)