From 1f2dbfd5f306b289937508efb99ec6a3eb762bc7 Mon Sep 17 00:00:00 2001 From: SalmanAsh Date: Tue, 16 Jul 2024 13:27:04 +0000 Subject: [PATCH] apply review changes --- api/serializers/agreement_signature.py | 2 +- api/serializers/contributor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"]