Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
ts-api-demo
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
wmvm
ts-api-demo
Commits
83af69c5
Commit
83af69c5
authored
Aug 22, 2024
by
1486327116
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
format
parent
911a6fe1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
coreSystemUtils.ts
src/utils/coreSystemUtils.ts
+0
-4
No files found.
src/utils/coreSystemUtils.ts
View file @
83af69c5
...
...
@@ -15,7 +15,6 @@ export const getCoinFromCore = async(symbol)=> {
return
data
[
0
];
}
// {
// "id": 1,
// "symbol": 'BTC_USDT',
...
...
@@ -47,8 +46,6 @@ export const addCoin2Core = async(symbol)=> {
return
true
;
}
export
const
addPairToCore
=
async
(
body
)
=>
{
const
url
=
`
${
webadmin_endpoint
}
/pair/add_product`
let
{
data
}
=
await
axios
.
post
(
url
,
body
);
...
...
@@ -59,4 +56,3 @@ export const addPairToCore = async(body)=> {
return
true
;
}
// getPairFromCore("BTC_USDT").then(console.log)
\ No newline at end of file
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