Add internal_name field to workflow serializer
Fixes workflow API creation view. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
@@ -266,7 +266,7 @@ class WritableWorkflowSerializer(serializers.ModelSerializer):
|
||||
'url': {'view_name': 'rest_api:workflow-detail'},
|
||||
}
|
||||
fields = (
|
||||
'document_types_pk_list', 'label', 'id', 'url',
|
||||
'document_types_pk_list', 'label', 'id', 'internal_name', 'url',
|
||||
)
|
||||
model = Workflow
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user