mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 08:44:23 -04:00
Removed the else statement in the job_api_client.get_job
This commit is contained in:
committed by
Chris Hill-Scott
parent
16d83faa72
commit
6af2b71696
@@ -20,8 +20,7 @@ class JobApiClient(BaseAPIClient):
|
|||||||
params = {}
|
params = {}
|
||||||
if limit_days is not None:
|
if limit_days is not None:
|
||||||
params['limit_days'] = limit_days
|
params['limit_days'] = limit_days
|
||||||
else:
|
return self.get(url='/service/{}/job'.format(service_id), params=params)
|
||||||
return self.get(url='/service/{}/job'.format(service_id), params=params)
|
|
||||||
|
|
||||||
def create_job(self, job_id, service_id, template_id, original_file_name, notification_count):
|
def create_job(self, job_id, service_id, template_id, original_file_name, notification_count):
|
||||||
data = {
|
data = {
|
||||||
|
|||||||
Reference in New Issue
Block a user