Skip to content

Commit

Permalink
fix wrong variable name in BringSyncCurrentUserResponse class (#34)
Browse files Browse the repository at this point in the history
* fix variable in BringSyncCurrentUserResponse class
* add missing variable names from JSON response
  • Loading branch information
tr4nt0r authored Apr 5, 2024
1 parent 0d6b349 commit f7a00fa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bring_api/types.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Bring API types."""

from enum import Enum
from typing import List, NotRequired, TypedDict

Expand Down Expand Up @@ -117,8 +118,11 @@ class BringSyncCurrentUserResponse(TypedDict):
"""A sync current user response class."""

email: str
emailVerified: bool
name: str
publicUuid: str
photoPath: str
premiumConfiguration: dict[str, bool]
publicUserUuid: str
userLocale: dict[str, str]
userUuid: str

Expand Down

0 comments on commit f7a00fa

Please sign in to comment.