diff --git a/backend/core/serializers.py b/backend/core/serializers.py index 5d1602395..e55df2c53 100644 --- a/backend/core/serializers.py +++ b/backend/core/serializers.py @@ -601,9 +601,8 @@ class ComplianceAssessmentWriteSerializer(BaseModelSerializer): required=False, allow_null=True, ) - ebios_rm_studies = serializers.SlugRelatedField( + ebios_rm_studies = serializers.PrimaryKeyRelatedField( many=True, - slug_field="id", queryset=EbiosRMStudy.objects.all(), required=False, allow_null=True,