diff --git a/cg/services/orders/store_order_services/store_microbial_fastq_order_service.py b/cg/services/orders/store_order_services/store_microbial_fastq_order_service.py index f8839af016..45baf7db30 100644 --- a/cg/services/orders/store_order_services/store_microbial_fastq_order_service.py +++ b/cg/services/orders/store_order_services/store_microbial_fastq_order_service.py @@ -40,6 +40,7 @@ def order_to_status(order: OrderIn) -> dict: { "application": sample.application, "comment": sample.comment, + "internal_id": sample.internal_id, "data_analysis": sample.data_analysis, "data_delivery": sample.data_delivery, "name": sample.name, @@ -121,6 +122,7 @@ def _create_sample( customer=customer, sex=SexOptions.UNKNOWN, comment=sample_dict["comment"], + internal_id=sample_dict["internal_id"], order=order, ordered=ordered, original_ticket=ticket_id,