Task is the same whether job based or not

- use notification to build action
- notification has job
- based in encrypted blob
This commit is contained in:
Martyn Inglis
2016-02-23 17:39:08 +00:00
parent 635debb5a6
commit 201c2d01ba
5 changed files with 32 additions and 9 deletions

View File

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