Refactored code to use new service permissions only

This commit is contained in:
Ken Tsang
2017-07-06 12:27:55 +01:00
committed by venusbb
parent 98cd838510
commit b04d01ba27
7 changed files with 16 additions and 14 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ from app.celery.statistics_tasks import record_initial_job_statistics, create_in
def send_sms_to_provider(notification):
service = notification.service
print('send')
if not service.active:
technical_failure(notification=notification)
return