From f5ac33357e5570b562964c3ac409c921588c9609 Mon Sep 17 00:00:00 2001 From: Parsa Nazer Date: Fri, 21 Feb 2025 18:19:10 +0330 Subject: [PATCH] update number send otp and clint refrence id --- backend/account/views.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/account/views.py b/backend/account/views.py index 0e15ef2..4b95a25 100644 --- a/backend/account/views.py +++ b/backend/account/views.py @@ -53,9 +53,9 @@ class SendOTPView(APIView): ghasedak_sms.SendSingleSmsInput( message=message, receptor=phone, - line_number='90002930', + line_number='50001212124889', send_date='', - client_reference_id='' + client_reference_id=str(user.pk) ) ) @@ -65,6 +65,7 @@ class SendOTPView(APIView): return Response({'detail': 'OTP sent successfully'}, status=status.HTTP_200_OK) else: print('remmber to remove #TODO') + print(response) return Response({'detail': f'OTP sent successfully {otp}'}, status=status.HTTP_200_OK) # return Response({'detail': response, 'otp_code': otp}, status=status.HTTP_500_INTERNAL_SERVER_ERROR)