mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-07-11 07:38:56 +00:00
added to user type as per required changes, handled apple signup for existing users
This commit is contained in:
@ -92,6 +92,7 @@ def get_notification_data(notification_type, from_user_id, from_user_type, to_us
|
||||
|
||||
notification_data['from_user'] = from_user_name
|
||||
notification_data['from_user_image'] = from_user_image
|
||||
notification_data['to_user_type'] = GUARDIAN if from_user_type == JUNIOR else JUNIOR
|
||||
|
||||
notification_data.update(extra_data)
|
||||
to_user = User.objects.filter(id=to_user_id).first()
|
||||
|
Reference in New Issue
Block a user