mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 08:31:00 -04:00
fix issue with 'process_type'
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user