Fix event handler signature to async def handler(event_data, context)
This commit is contained in:
@@ -12,7 +12,8 @@ config = {
|
||||
'flows': ['advoware']
|
||||
}
|
||||
|
||||
async def handler(req, context):
|
||||
async def handler(req):
|
||||
context = req.context
|
||||
try:
|
||||
# Konfiguration aus Request-Body
|
||||
body = req.get('body', {})
|
||||
|
||||
Reference in New Issue
Block a user