File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/firebase_functions/private Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ def _on_call_valid_body(request: _Request) -> bool:
114114 return False
115115
116116 # The body must have data.
117- if request . json is None or "data" not in request .json :
117+ if "data" not in request .json :
118118 _logging .warning ("Request body is missing data." , request .json )
119119 return False
120120
@@ -143,7 +143,7 @@ def _on_call_valid_content_type(request: _Request) -> bool:
143143 content_type : str | None = request .headers .get ("Content-Type" )
144144
145145 if content_type is None :
146- _logging .warning ("Request is missing Content-Type." , content_type )
146+ _logging .warning ("Request is missing Content-Type." )
147147 return False
148148
149149 # If it has a charset, just ignore it for now.
You can’t perform that action at this time.
0 commit comments