From e6649aa375669d76dee259ad2aeb91fa2d38b00a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Alm=C3=A9n?= <78877636+almenscorner@users.noreply.github.com> Date: Thu, 21 Mar 2024 10:49:27 +0100 Subject: [PATCH] formatting --- src/IntuneCD/intunecdlib/BaseGraphModule.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/IntuneCD/intunecdlib/BaseGraphModule.py b/src/IntuneCD/intunecdlib/BaseGraphModule.py index 865c5cd..c4be361 100644 --- a/src/IntuneCD/intunecdlib/BaseGraphModule.py +++ b/src/IntuneCD/intunecdlib/BaseGraphModule.py @@ -858,9 +858,9 @@ def update_assignment( val["target"]["deviceAndAppManagementAssignmentFilterId"] == intune_filter["displayName"] ): - val["target"]["deviceAndAppManagementAssignmentFilterId"] = ( - intune_filter["id"] - ) + val["target"][ + "deviceAndAppManagementAssignmentFilterId" + ] = intune_filter["id"] # If filter is None, remove keys if val["target"]["deviceAndAppManagementAssignmentFilterId"] is None: