Skip to content

Commit 36d70d8

Browse files
author
Daniel Neuhäuser
committed
Merge pull request pallets#843 from wbowlin/master
corrected documentation for Request get_json()
2 parents 5207c69 + 3e90de2 commit 36d70d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flask/wrappers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ def get_json(self, force=False, silent=False, cache=True):
115115
but this can be overriden by the `force` parameter.
116116
117117
:param force: if set to `True` the mimetype is ignored.
118-
:param silent: if set to `False` this method will fail silently
119-
and return `False`.
118+
:param silent: if set to `True` this method will fail silently
119+
and return `None`.
120120
:param cache: if set to `True` the parsed JSON data is remembered
121121
on the request.
122122
"""

0 commit comments

Comments
 (0)