mirror of https://github.com/logos-co/open-law.git
hotfix: access to book.my_books
This commit is contained in:
parent
b23bace7ab
commit
0611736106
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue