Setup celery config

This commit is contained in:
Martyn Inglis
2016-02-17 10:22:25 +00:00
parent 85a8e6d2b4
commit e0e47b40fc
5 changed files with 12 additions and 8 deletions

View File

@@ -49,7 +49,8 @@ def create_sms_notification():
send_sms.apply_async((
api_user['client'],
notification_id,
encryption.encrypt(notification)))
encryption.encrypt(notification)),
queue='sms')
return jsonify({'notification_id': notification_id}), 201