diff --git a/api/serializers/agreement_signature.py b/api/serializers/agreement_signature.py index e750812..9113139 100644 --- a/api/serializers/agreement_signature.py +++ b/api/serializers/agreement_signature.py @@ -14,4 +14,4 @@ class AgreementSignatureSerializer(ModelSerializer[User, AgreementSignature]): class Meta: model = AgreementSignature - fields = "__all__" + fields = ["id", "contributor", "agreement_id", "signed_at"] diff --git a/api/serializers/contributor.py b/api/serializers/contributor.py index 4e2817c..bd47679 100644 --- a/api/serializers/contributor.py +++ b/api/serializers/contributor.py @@ -13,4 +13,4 @@ class ContributorSerializer(ModelSerializer[User, Contributor]): class Meta: model = Contributor - fields = "__all__" + fields = ["id", "email", "name", "location", "html_url", "avatar_url"]