Spaces:
Running
Running
Clement Vachet
commited on
Commit
·
2ba3047
1
Parent(s):
298cc2e
fix: add isBase64Encoded argument to payload
Browse files- tests/test_lambda.py +2 -1
tests/test_lambda.py
CHANGED
@@ -28,7 +28,8 @@ def event():
|
|
28 |
|
29 |
# Prepare the payload
|
30 |
json_event = {
|
31 |
-
'body': encoded_image
|
|
|
32 |
}
|
33 |
|
34 |
return json_event
|
|
|
28 |
|
29 |
# Prepare the payload
|
30 |
json_event = {
|
31 |
+
'body': encoded_image,
|
32 |
+
'isBase64Encoded': True,
|
33 |
}
|
34 |
|
35 |
return json_event
|