forked from orbit-oss/flask
parent
a43a439c7a
commit
f7983ae96a
1 changed files with 1 additions and 1 deletions
|
|
@ -264,7 +264,7 @@ def jsonify(*args, **kwargs):
|
||||||
data = args or kwargs
|
data = args or kwargs
|
||||||
|
|
||||||
return current_app.response_class(
|
return current_app.response_class(
|
||||||
(dumps(data, indent=indent, separators=separators), '\n'),
|
dumps(data, indent=indent, separators=separators) + '\n',
|
||||||
mimetype=current_app.config['JSONIFY_MIMETYPE']
|
mimetype=current_app.config['JSONIFY_MIMETYPE']
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue