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)