From 4f99344b778a4a6a2535399340d2122f94ee700f Mon Sep 17 00:00:00 2001 From: mortezaei Date: Mon, 22 Sep 2025 17:11:03 +0330 Subject: [PATCH] fix(account): allow blank and null values for fcm and device_id in user registration - Updated fcm and device_id fields in UserRegisterSerializer to allow blank and null values, enhancing flexibility in user registration. --- apps/account/serializers/user.py | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/account/serializers/user.py b/apps/account/serializers/user.py index 286b1d4..b86eba4 100644 --- a/apps/account/serializers/user.py +++ b/apps/account/serializers/user.py @@ -51,7 +51,6 @@ class UserRegisterSerializer(serializers.ModelSerializer): extra_kwargs = { 'fullname': {'required': True,}, 'email': {'required': True,}, - 'device_id': {'required': False,}, } def validate_email(self, value):