diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/routes/process_models_controller.py b/spiffworkflow-backend/src/spiffworkflow_backend/routes/process_models_controller.py index 8717fa257..6901a2d5d 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/routes/process_models_controller.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/routes/process_models_controller.py @@ -300,6 +300,11 @@ def process_model_file_delete( """Process_model_file_delete.""" process_model_identifier = modified_process_model_identifier.replace(":", "/") process_model = _get_process_model(process_model_identifier) + + # DEBUG CI: TODO: DELETE + print(f"CURRENT PRIMARY FILE NAME: {process_model.primary_file_nam}") + print(f"FILE TO DELETE: {file_name}") + if process_model.primary_file_name == file_name: raise ApiError( error_code="process_model_file_cannot_be_deleted",