mirror of
https://github.com/logos-co/open-law.git
synced 2025-02-03 02:24:45 +00:00
17 lines
249 B
Python
17 lines
249 B
Python
from flask import (
|
|
Blueprint,
|
|
)
|
|
|
|
from app.controllers import (
|
|
book_validator,
|
|
)
|
|
|
|
|
|
bp = Blueprint("book", __name__, url_prefix="/book")
|
|
|
|
|
|
@bp.before_request
|
|
def before_request():
|
|
if response := book_validator():
|
|
return response
|