This commit is contained in:
Parsa Nazer
2025-03-08 23:22:25 +03:30
parent 44742f2298
commit 3a3706f1f9
+1 -1
View File
@@ -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)