File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -395,7 +395,7 @@ def _on_call_handler(func: _C2, request: Request) -> Response:
395
395
"Firebase-Instance-ID-Token" ),
396
396
)
397
397
result = func (context )
398
- return _jsonify (data = result , status = 200 )
398
+ return _jsonify (result = result ), 200
399
399
# Disable broad exceptions lint since we want to handle all exceptions here
400
400
# and wrap as an HttpsError.
401
401
# pylint: disable=broad-except
@@ -404,7 +404,7 @@ def _on_call_handler(func: _C2, request: Request) -> Response:
404
404
_logging .error ("Unhandled error" , err )
405
405
err = HttpsError (FunctionsErrorCode .INTERNAL , "INTERNAL" )
406
406
status = err ._http_error_code .status
407
- return _jsonify (error = err ._as_dict (), status = status )
407
+ return _jsonify (error = err ._as_dict ()) , status
408
408
409
409
410
410
@_util .copy_func_kwargs (_options .HttpsOptions )
You can’t perform that action at this time.
0 commit comments