mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-13 08:42:21 -05:00
Made SMS messages go through celery
- twilio client pulled in from delivery app - made method to perform task
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
import os
|
||||
from app import celery, create_app
|
||||
from app.celery.tasks import refresh_services
|
||||
|
||||
application = create_app(os.getenv('NOTIFY_API_ENVIRONMENT') or 'development')
|
||||
application.app_context().push()
|
||||
|
||||
Reference in New Issue
Block a user