mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-07-16 18:36:18 +00:00
Merge branch 'dev' of github.com:KiwiTechLLC/ZODBank-Backend into sprint2
This commit is contained in:
@ -244,4 +244,4 @@ class GuardianProfileSerializer(serializers.ModelSerializer):
|
||||
fields = ['id', 'email', 'first_name', 'last_name', 'country_name','country_code', 'phone', 'gender', 'dob',
|
||||
'guardian_code', 'notification_count', 'total_count', 'complete_field_count', 'referral_code',
|
||||
'is_active', 'is_complete_profile', 'created_at', 'image', 'signup_method',
|
||||
'updated_at']
|
||||
'updated_at', 'passcode']
|
||||
|
@ -244,7 +244,7 @@ class JuniorProfileSerializer(serializers.ModelSerializer):
|
||||
fields = ['id', 'email', 'first_name', 'last_name', 'country_name', 'country_code', 'phone', 'gender', 'dob',
|
||||
'guardian_code', 'referral_code','is_active', 'is_complete_profile', 'created_at', 'image',
|
||||
'updated_at', 'notification_count', 'total_count', 'complete_field_count', 'signup_method',
|
||||
'is_invited']
|
||||
'is_invited', 'passcode']
|
||||
|
||||
class AddJuniorSerializer(serializers.ModelSerializer):
|
||||
"""Add junior serializer"""
|
||||
@ -308,3 +308,4 @@ class RemoveJuniorSerializer(serializers.ModelSerializer):
|
||||
instance.guardian_code = '{}'
|
||||
instance.save()
|
||||
return instance
|
||||
|
||||
|
Reference in New Issue
Block a user