mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-27 10:50:30 -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 = {}
|
||||
if limit_days is not None:
|
||||
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):
|
||||
data = {
|
||||
|
||||
Reference in New Issue
Block a user