Skip to content

Commit 90bcd72

Browse files
committed
Fix typo in README
Thanks to @ikotler for spotting it. Closes: #36 Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
1 parent 8d0f44f commit 90bcd72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def handle(req):
108108
"""
109109
110110
# req is bytes, so an input of "hello" returns i.e. b'hello'
111-
return string(req)
111+
return str(req)
112112
```
113113

114114
# Using the python3-http templates
@@ -241,4 +241,4 @@ def handle(event, context):
241241
"content-type-received": event.headers['Content-Type']
242242
}
243243
}
244-
```
244+
```

0 commit comments

Comments
 (0)