Skip to content

Commit

Permalink
chore: adding designation to serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
rb-25 committed Jun 2, 2024
1 parent f450a96 commit e6d0bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gibspons/spons_app/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class POCSerializer(serializers.ModelSerializer):
company_name = serializers.CharField(source='company.name',required=False,read_only=True)
class Meta:
model=POC
fields=['id','company','name','email','linkedin','phone','company_name']
fields=['id','company','designation','name','email','linkedin','phone','company_name']

def create(self, validated_data):
validated_data.pop('user', None)
Expand Down

0 comments on commit e6d0bd6

Please sign in to comment.