Skip to content

Commit 5035b27

Browse files
committed
docs: fix typo in README
1 parent ccb50f7 commit 5035b27

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
@@ -15,7 +15,7 @@ pip install scaleway-functions-python
1515

1616
# Standard entrypoint to a Scaleway serverless function
1717
def handler(event, context):
18-
if event["method"] != "GET":
18+
if event["httpMethod"] != "GET":
1919
return {"statusCode": 405, "body": "Invalid method!"}
2020
return "Hello World!"
2121

0 commit comments

Comments
 (0)