diff --git a/backend/account/views.py b/backend/account/views.py index 9799d2d..30687e8 100644 --- a/backend/account/views.py +++ b/backend/account/views.py @@ -43,10 +43,6 @@ class SendOTPView(APIView): Code: {otp}""" sms_api = ghasedak_sms.Ghasedak(api_key="1227eaaddcba72bcb0169b37032cf16ae9ac6ed8b3b7c2768b74e2ee351d1b52gyRe3AGomZRPTNEd") - # response = sms_api.send_single_sms(ghasedak_sms.SendSingleSmsInput(message=message, receptor=phone, line_number='30005006006908', send_date='', client_reference_id='')) - # print(response) - - response = sms_api.send_single_sms( ghasedak_sms.SendSingleSmsInput( @@ -57,8 +53,6 @@ Code: {otp}""" ) ) - # response = sms_api.send_otp_sms(otp_input) - if response['statusCode'] == 200: return Response({'detail': f'OTP sent successfully {otp}'}, status=status.HTTP_200_OK) else: