From 1c875c52267c89c667bbe952044f4bf77f3fb318 Mon Sep 17 00:00:00 2001 From: islean Date: Mon, 27 Jan 2025 09:28:56 +0100 Subject: [PATCH] Fix existing sample priority --- cg/services/orders/submitter/ticket_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cg/services/orders/submitter/ticket_handler.py b/cg/services/orders/submitter/ticket_handler.py index 98b37cf382..d6907a41da 100644 --- a/cg/services/orders/submitter/ticket_handler.py +++ b/cg/services/orders/submitter/ticket_handler.py @@ -124,7 +124,7 @@ def add_existing_sample_info_to_message( sample_customer = "" if existing_sample.customer_id != customer_id: sample_customer = " from " + existing_sample.customer.internal_id - message += f"{existing_sample.name}, application: {existing_sample.application_version.application.tag}, case: {case_name} (already existing sample{sample_customer}), priority: {existing_sample.priority}" + message += f"{existing_sample.name}, application: {existing_sample.application_version.application.tag}, case: {case_name} (already existing sample{sample_customer}), priority: {existing_sample.priority.name.lower()}" return message @staticmethod