update
This commit is contained in:
@ -101,6 +101,7 @@ const TransactionWithdraw = () => {
|
|||||||
|
|
||||||
const doPostData = async (form: typeof initialForm) => {
|
const doPostData = async (form: typeof initialForm) => {
|
||||||
setIsSubmitting(true);
|
setIsSubmitting(true);
|
||||||
|
// console.log(getAuth()?.user.customer.id);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
let response = await PostData(`${API_URL}/transaction/transfer`, {
|
let response = await PostData(`${API_URL}/transaction/transfer`, {
|
||||||
@ -109,7 +110,7 @@ const TransactionWithdraw = () => {
|
|||||||
pin: form.pin,
|
pin: form.pin,
|
||||||
purpose: form.purpose,
|
purpose: form.purpose,
|
||||||
id_transaction_type: "20c8a690-dc02-463d-b391-324184d1fefa",
|
id_transaction_type: "20c8a690-dc02-463d-b391-324184d1fefa",
|
||||||
id_origin_customer: getAuth()?.id,
|
id_origin_customer: getAuth()?.user.customer.id,
|
||||||
type:"R"
|
type:"R"
|
||||||
});
|
});
|
||||||
if (response?.status == true) {
|
if (response?.status == true) {
|
||||||
|
|||||||
Reference in New Issue
Block a user