diff --git a/server/vbv_lernwelt/learning_mentor/services.py b/server/vbv_lernwelt/learning_mentor/services.py index aab557b9..ef9fbd3a 100644 --- a/server/vbv_lernwelt/learning_mentor/services.py +++ b/server/vbv_lernwelt/learning_mentor/services.py @@ -78,6 +78,7 @@ def create_or_sync_learning_mentor( ) # Check if it is a valid organisation + # ids < 4 are "andere Broker/Krankenversicherer" if organisation and organisation.organisation_id < 4: logger.error("Invalid organisation", org=organisation) return False