Add comment
This commit is contained in:
parent
e87ab1da57
commit
1a909431cf
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue