feat: allow admins to bypass approval flow when joining networks
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
"""API package."""
|
||||
from flask import Blueprint
|
||||
from gatehouse_app.utils.response import api_response
|
||||
from gatehouse_app.extensions import limiter
|
||||
|
||||
# Create main API blueprint
|
||||
api_bp = Blueprint("api", __name__)
|
||||
|
||||
|
||||
@api_bp.route("/health", methods=["GET"])
|
||||
@limiter.exempt
|
||||
def health_check():
|
||||
"""Health check endpoint."""
|
||||
return api_response(
|
||||
|
||||
Reference in New Issue
Block a user