mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-25 00:33:41 -04:00
Make the update template endpoint work when process_type is present.
This commit is contained in:
@@ -208,6 +208,7 @@ class BaseTemplateSchema(BaseSchema):
|
||||
class TemplateSchema(BaseTemplateSchema):
|
||||
|
||||
created_by = field_for(models.Template, 'created_by', required=True)
|
||||
process_type = field_for(models.Template, 'process_type')
|
||||
|
||||
@validates_schema
|
||||
def validate_type(self, data):
|
||||
|
||||
Reference in New Issue
Block a user