From 086146c4db623bce68f9745c40ea38a6b3a36fb8 Mon Sep 17 00:00:00 2001
From: Mohammad Torkashvand <mohammad.torkashvand@geant.org>
Date: Thu, 3 Apr 2025 07:19:35 +0000
Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Karel van Klink <karel.vanklink@geant.org>
---
 .../l3_core_service/copernicus/terminate_copernicus.py        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gso/workflows/l3_core_service/copernicus/terminate_copernicus.py b/gso/workflows/l3_core_service/copernicus/terminate_copernicus.py
index d8452035b..9d9539d6f 100644
--- a/gso/workflows/l3_core_service/copernicus/terminate_copernicus.py
+++ b/gso/workflows/l3_core_service/copernicus/terminate_copernicus.py
@@ -20,8 +20,8 @@ def initial_input_form_generator(subscription_id: UUIDstr) -> FormGenerator:
     class TerminateForm(SubmitFormPage):
         tt_number: TTNumber
 
-    yield TerminateForm
-    return {"subscription": subscription}
+    user_input = yield TerminateForm
+    return {"subscription": subscription} | user_input.model_dump()
 
 
 @workflow(
-- 
GitLab