Files
digifi-EventManager/app/utils/auth.py
T
2025-03-27 11:29:36 +01:00

9 lines
203 B
Python

import requests
from flask import current_app
def get_headers():
return {
"Authorization": f"Bearer {current_app.config['JWT_SECRET_KEY']}",
"Content-Type": "application/json"
}