Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
feat: fix lint errors
  • Loading branch information
exaby73 committed Dec 5, 2023
commit 355f19a203802f555a31a19a426bc50cbfd044c2
2 changes: 1 addition & 1 deletion src/firebase_functions/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class LogSeverity(str, _enum.Enum):
"""
`LogSeverity` indicates the detailed severity of the log entry. See
`LogSeverity <https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry#logseverity>`_.
`LogSeverity <https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry#logseverity>`.
"""

DEBUG = "DEBUG"
Expand Down
2 changes: 1 addition & 1 deletion src/firebase_functions/private/_identity_fn.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def _generate_response_payload(
result = {}
update_mask = ",".join(formatted_auth_response.keys())

if len(update_mask):
if len(update_mask) != 0:
result["userRecord"] = {
**formatted_auth_response, "updateMask": update_mask
}
Expand Down