|
|
@@ -109,7 +109,7 @@ export async function copyPosition(positionDetails: OpenPositionEvent['positionD
|
|
|
})
|
|
|
}
|
|
|
|
|
|
- return fetch('https://discord.com/api/webhooks/1457714616636280978/YFMGaZEj2gJwUjINpFfJIkagG1I3SLZRwz9bGpc2OlGFWBVa88r73cMIkBpX3iGpSIjV', {
|
|
|
+ return fetch(cfg?.discordWebhookUrl, {
|
|
|
method: 'POST',
|
|
|
headers: {
|
|
|
'Content-Type': 'application/json',
|
|
|
@@ -153,7 +153,7 @@ export async function copyPosition(positionDetails: OpenPositionEvent['positionD
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- return fetch('https://discord.com/api/webhooks/1457714616636280978/YFMGaZEj2gJwUjINpFfJIkagG1I3SLZRwz9bGpc2OlGFWBVa88r73cMIkBpX3iGpSIjV', {
|
|
|
+ return fetch(cfg?.discordWebhookUrl, {
|
|
|
method: 'POST',
|
|
|
headers: {
|
|
|
'Content-Type': 'application/json',
|