mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -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()
|
clients = Clients()
|
||||||
|
|
||||||
api_user = LocalProxy(lambda: _request_ctx_stack.top.api_user)
|
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):
|
def create_app(app_name=None):
|
||||||
|
|||||||
Reference in New Issue
Block a user