Skip to content

Commit

Permalink
Fix typo in README
Browse files Browse the repository at this point in the history
Thanks to @ikotler for spotting it.

Closes: #36

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Jun 10, 2020
1 parent 8d0f44f commit 90bcd72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def handle(req):
"""

# req is bytes, so an input of "hello" returns i.e. b'hello'
return string(req)
return str(req)
```

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

0 comments on commit 90bcd72

Please sign in to comment.