Skip to content

Commit a820717

Browse files
committed
fix: allow empty emails for regapps
1 parent 35eff03 commit a820717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythorhead/classes/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ class ApplicationStatus(str, Enum):
1717
class LemmyLocalUser(LemmyBaseClass):
1818
id: int
1919
person_id: int
20-
email: str
2120
show_nsfw: bool
2221
theme: str
2322
default_sort_type: SortType
@@ -40,6 +39,7 @@ class LemmyLocalUser(LemmyBaseClass):
4039
enable_keyboard_navigation: bool
4140
enable_animated_images: bool
4241
collapse_bot_comments: bool
42+
email: str | None = None
4343
published: datetime | None = None
4444

4545
@classmethod

0 commit comments

Comments
 (0)