Skip to content

Commit 27c0d29

Browse files
authored
Make email nullable (#320)
1 parent 14690c7 commit 27c0d29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/spotifyaio/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,8 @@ class BaseUserProfile(DataClassORJSONMixin):
430430
class UserProfile(BaseUserProfile):
431431
"""User profile model."""
432432

433-
email: str
434433
product: ProductType
434+
email: str | None = None
435435

436436

437437
@dataclass

0 commit comments

Comments
 (0)