mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
Make the service available to code on the request context
This commit is contained in:
@@ -40,6 +40,7 @@ performance_platform_client = PerformancePlatformClient()
|
||||
clients = Clients()
|
||||
|
||||
api_user = LocalProxy(lambda: _request_ctx_stack.top.api_user)
|
||||
authenticated_service = LocalProxy(lambda: _request_ctx_stack.top.authenticated_service)
|
||||
|
||||
|
||||
def create_app(app_name=None):
|
||||
|
||||
Reference in New Issue
Block a user