diff --git a/backend/gn_module_monitoring/monitoring/models.py b/backend/gn_module_monitoring/monitoring/models.py index 0f148ca7..0594da17 100644 --- a/backend/gn_module_monitoring/monitoring/models.py +++ b/backend/gn_module_monitoring/monitoring/models.py @@ -160,7 +160,7 @@ def has_instance_permission(self, scope): if self.id_base_visit: return DB.session.get( TMonitoringVisits, self.id_base_visit - ).has_instance_permission(scope, True) + ).has_instance_permission(scope) elif scope == 3: return True