Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beasy-mobile
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
G
beasy-mobile
Commits
e5f85884
Commit
e5f85884
authored
May 22, 2024
by
G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log to help debugging, will remove
parent
972b2c2d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
PaymentAmountInputScreen.tsx
src/screens/PaymentAmountInputScreen.tsx
+2
-1
axios-request.ts
src/utils/axios-request.ts
+1
-0
No files found.
src/screens/PaymentAmountInputScreen.tsx
View file @
e5f85884
...
...
@@ -56,9 +56,10 @@ const PaymentAmountInputScreen: PaymentStackScreenComponentProps<"paymentAmountI
);
if
(
orangeTransactionInitializerMutation
.
isSuccess
)
{
console
.
log
(
"initilization was a success"
);
transactionsStatusMutation
.
mutate
(
await
transactionsStatusMutation
.
mutateAsync
(
orangeTransactionInitializerMutation
.
data
.
order_id
,
);
console
.
log
(
"result of transactions"
,
transactionsStatusMutation
.
data
);
}
// console.log("Response transaction", response);
...
...
src/utils/axios-request.ts
View file @
e5f85884
...
...
@@ -25,6 +25,7 @@ const axiosRequest = async<T> ({...options}) : Promise<T> => {
return
onSuccess
(
response
.
data
);
}
catch
(
error
:
any
)
{
console
.
error
(
"Axios Request Error :: "
,
error
.
response
.
data
);
console
.
log
(
"Axios Request Error :: "
,
error
.
response
.
data
);
return
onError
(
error
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment