fix issue with 'process_type'

This commit is contained in:
Kenneth Kehl
2023-07-03 10:15:01 -07:00
parent 4229448a67
commit 4056a5d0ca

View File

@@ -163,7 +163,7 @@ class ServiceAPIClient(NotifyAdminAPIClient):
return self.delete(endpoint, data)
@cache.delete('service-{service_id}-templates')
def create_service_template(self, name, type_, content, service_id, subject=None, process_type='normal',
def create_service_template(self, name, type_, content, service_id, subject=None,
parent_folder_id=None):
"""
Create a service template.
@@ -173,7 +173,7 @@ class ServiceAPIClient(NotifyAdminAPIClient):
"template_type": type_,
"content": content,
"service": service_id,
"process_type": process_type,
"process_type": 'normal',
}
if subject:
data.update({