with encrypted data on envolope submit
This commit is contained in:
@@ -14,8 +14,8 @@ import colors from '../../Constant/Color';
|
||||
import PrimaryButton from '../../Component/PrimaryButton/PrimaryButton';
|
||||
import MyInput from '../../Component/MyInput';
|
||||
import { showToast } from '../../Constant/ShowDailog';
|
||||
import { PARTNER_API_ENDPOINT } from '../../Services/BBPS/ApiUrls';
|
||||
import { usePartnerShipSubmit } from '../../Services/BBPS/Hooks';
|
||||
import { PARTNER_API_ENDPOINT } from '../../Services/ApiCall/ApiUrls';
|
||||
import { usePartnerShipSubmit } from '../../Services/ApiCall/Hooks';
|
||||
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
||||
import { Navigation } from 'lucide-react-native';
|
||||
import { NavigationString } from '../../Constant/AllImports';
|
||||
@@ -118,12 +118,9 @@ const Partnership = () => {
|
||||
return;
|
||||
}
|
||||
|
||||
console.log("Partner ship payload:", payload);
|
||||
const response = await partnerShipSubmit(payload);
|
||||
|
||||
console.log("first ====== ", response)
|
||||
if (response?.statusCode === 200) {
|
||||
console.log('✅ Partners submitted successfully:', response);
|
||||
showToast(response.message || 'Submitted successfully!');
|
||||
navigation.replace(NavigationString.Home);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user