Skip to content

Commit

Permalink
feat: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
exaby73 committed Dec 5, 2023
1 parent 03670c3 commit 355f19a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 355f19a

Please sign in to comment.