Skip to content

Commit 4de4506

Browse files
committed
fix: response
1 parent 399b0f4 commit 4de4506

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/firebase_functions/private/_identity_fn.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def before_operation_handler(
324324
auth_response: BeforeCreateResponse | BeforeSignInResponse | None = func(
325325
event)
326326
if not auth_response:
327-
return _jsonify(result={})
327+
return _jsonify({})
328328
auth_response_dict = _validate_auth_response(event_type, auth_response)
329329
update_mask = ",".join(auth_response_dict.keys())
330330
result = {
@@ -333,7 +333,7 @@ def before_operation_handler(
333333
"updateMask": update_mask,
334334
}
335335
}
336-
return _jsonify(result=result)
336+
return _jsonify(result)
337337
# Disable broad exceptions lint since we want to handle all exceptions.
338338
# pylint: disable=broad-except
339339
except Exception as exception:

0 commit comments

Comments
 (0)