From 8bdbef31376a8284bd8a5139588b43a57cf74a4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me>
Date: Tue, 3 Oct 2023 14:37:06 +0200
Subject: [PATCH] AssignmentHelper => Adapt to optional volume field

---
 helpers/Dojo/SharedAssignmentHelper.ts | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/helpers/Dojo/SharedAssignmentHelper.ts b/helpers/Dojo/SharedAssignmentHelper.ts
index 7c87bc2..007f7bf 100644
--- a/helpers/Dojo/SharedAssignmentHelper.ts
+++ b/helpers/Dojo/SharedAssignmentHelper.ts
@@ -24,9 +24,11 @@ class SharedAssignmentHelper {
                 },
 
                 result: {
-                    properties: {
-                        container: { type: 'string' },
-                        volume   : { type: 'string' }
+                    properties        : {
+                        container: { type: 'string' }
+                    },
+                    optionalProperties: {
+                        volume: { type: 'string' }
                     }
                 }
             },
-- 
GitLab