mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 09:28:26 -04:00
Stop posting job metadata to the API
The API is looking at the S3 metadata for this information now, so there’s no need for us to continue sending it through.
This commit is contained in:
@@ -60,13 +60,9 @@ class JobApiClient(NotifyAdminAPIClient):
|
||||
|
||||
return jobs
|
||||
|
||||
def create_job(self, job_id, service_id, template_id, original_file_name, notification_count, scheduled_for=None):
|
||||
data = {
|
||||
"id": job_id,
|
||||
"template": template_id,
|
||||
"original_file_name": original_file_name,
|
||||
"notification_count": notification_count
|
||||
}
|
||||
def create_job(self, job_id, service_id, scheduled_for=None):
|
||||
|
||||
data = {"id": job_id}
|
||||
|
||||
if scheduled_for:
|
||||
data.update({'scheduled_for': scheduled_for})
|
||||
|
||||
Reference in New Issue
Block a user