mirror of
https://github.com/logos-co/open-law.git
synced 2025-02-28 14:30:33 +00:00
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…
x
Reference in New Issue
Block a user