mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 22:18:24 -04:00
Removed print statement
This commit is contained in:
@@ -127,7 +127,6 @@ def check_sms(service_id, upload_id):
|
|||||||
template_id = upload_data.get('template_id')
|
template_id = upload_data.get('template_id')
|
||||||
raw_template = templates_dao.get_service_template_or_404(service_id, template_id)['data']
|
raw_template = templates_dao.get_service_template_or_404(service_id, template_id)['data']
|
||||||
upload_result = _get_rows(contents, raw_template)
|
upload_result = _get_rows(contents, raw_template)
|
||||||
print(upload_result)
|
|
||||||
template = Template(
|
template = Template(
|
||||||
raw_template,
|
raw_template,
|
||||||
values=upload_result['rows'][0] if upload_result['valid'] else {},
|
values=upload_result['rows'][0] if upload_result['valid'] else {},
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
import uuid
|
|
||||||
|
|
||||||
from notifications_python_client.base import BaseAPIClient
|
from notifications_python_client.base import BaseAPIClient
|
||||||
|
|
||||||
@@ -23,7 +22,6 @@ class JobApiClient(BaseAPIClient):
|
|||||||
def create_job(self, job_id, service_id, template_id, original_file_name):
|
def create_job(self, job_id, service_id, template_id, original_file_name):
|
||||||
data = {
|
data = {
|
||||||
"id": job_id,
|
"id": job_id,
|
||||||
"service": service_id,
|
|
||||||
"template": template_id,
|
"template": template_id,
|
||||||
"original_file_name": original_file_name,
|
"original_file_name": original_file_name,
|
||||||
"bucket_name": "service-{}-notify".format(service_id),
|
"bucket_name": "service-{}-notify".format(service_id),
|
||||||
|
|||||||
Reference in New Issue
Block a user