Merge branch 'develop' into svyat/feat/book_stats

This commit is contained in:
SvyatoslavArtymovych 2023-05-15 12:01:52 +03:00
commit 26cdbb0f2f
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ def edit_profile():
@bp.route("/<int:user_id>/profile")
@login_required
def profile(user_id: int):
user: m.User = m.User.query.get(user_id)
user: m.User = db.session.get(m.User, user_id)
interpretations: m.Interpretation = m.Interpretation.query.filter_by(
user_id=user_id
)