Skip to content

Commit 149cb68

Browse files
committed
fix: added missing modeltype
1 parent 3f8eca5 commit 149cb68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/domain/accounts/services.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ class UserService(SQLAlchemyAsyncRepositoryService[m.User]):
2828
class UserRepository(SQLAlchemyAsyncRepository[m.User]):
2929
"""User SQLAlchemy Repository."""
3030

31+
model_type = m.User
32+
3133
repository_type = UserRepository
3234
default_role = constants.DEFAULT_USER_ROLE
3335
match_fields = ["email"]

0 commit comments

Comments
 (0)