Skip to content

Commit f470fe5

Browse files
committed
need to have the correct parser based on mimetype
1 parent 06b25fe commit f470fe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

acai_aws/apigateway/request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __init__(self, event, lambda_context=None, timeout=None):
2121
self.__context = {}
2222
self.__parsers = {
2323
'application/json': 'json',
24-
'application/graphql': 'json',
24+
'application/graphql': 'graphql',
2525
'application/x-www-form-urlencoded': 'form',
2626
'multipart/form-data': 'raw',
2727
'application/xml': 'xml',

0 commit comments

Comments
 (0)