mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-26 16:44:54 +00:00
feedback changes and added mark all read
This commit is contained in:
@ -108,7 +108,7 @@ class CreateJuniorSerializer(serializers.ModelSerializer):
|
||||
if guardian_data:
|
||||
JuniorGuardianRelationship.objects.get_or_create(guardian=guardian_data, junior=junior)
|
||||
send_notification.delay(ASSOCIATE_REQUEST, junior.auth_id, JUNIOR, guardian_data.user_id, {})
|
||||
junior_approval_mail.delay(user.email, user.first_name)
|
||||
# junior_approval_mail.delay(user.email, user.first_name) removed as per changes
|
||||
junior.dob = validated_data.get('dob', junior.dob)
|
||||
junior.passcode = validated_data.get('passcode', junior.passcode)
|
||||
junior.country_name = validated_data.get('country_name', junior.country_name)
|
||||
@ -466,7 +466,7 @@ class AddGuardianSerializer(serializers.ModelSerializer):
|
||||
|
||||
"""Notification email"""
|
||||
junior_notification_email(email, full_name, email, password)
|
||||
junior_approval_mail.delay(email, full_name)
|
||||
# junior_approval_mail.delay(email, full_name) removed as per changes
|
||||
send_notification.delay(ASSOCIATE_REQUEST, junior_data.auth_id, JUNIOR, guardian_data.user_id, {})
|
||||
return guardian_data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user