hotfix: access to book.my_books

This commit is contained in:
SvyatoslavArtymovych 2023-04-26 14:32:15 +03:00
parent b23bace7ab
commit 0611736106
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ def get_all():
@bp.route("/", methods=["GET"])
@login_required
def my_books():
q = request.args.get("q", type=str, default=None)
books: m.Book = m.Book.query.order_by(m.Book.id)