From 3a3706f1f9a9a8f8a89751389f12500d31187bfb Mon Sep 17 00:00:00 2001 From: Parsa Nazer Date: Sat, 8 Mar 2025 23:22:25 +0330 Subject: [PATCH] show otp --- backend/account/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/account/views.py b/backend/account/views.py index 77c067f..64d6fac 100644 --- a/backend/account/views.py +++ b/backend/account/views.py @@ -61,7 +61,7 @@ Code: {otp}""" # response = sms_api.send_otp_sms(otp_input) if response['statusCode'] == 200: - return Response({'detail': 'OTP sent successfully'}, status=status.HTTP_200_OK) + return Response({'detail': f'OTP sent successfully {otp}'}, status=status.HTTP_200_OK) else: print(response) return Response({'detail': f'مشکلی در ارسال کد رخ داد'}, status=status.HTTP_200_OK)