mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-13 15:14:49 -06:00
changelog
This commit is contained in:
parent
56a165db54
commit
fa05cf85ab
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "evolution-api",
|
||||
"version": "2.0.8-rc",
|
||||
"version": "2.0.9-rc",
|
||||
"description": "Rest api for communication with WhatsApp",
|
||||
"main": "./dist/src/main.js",
|
||||
"scripts": {
|
||||
|
@ -26,7 +26,10 @@ export const sendTelemetry = async (route: string): Promise<void> => {
|
||||
timestamp: new Date(),
|
||||
};
|
||||
|
||||
const url = process.env.TELEMETRY_URL || 'https://log.evolution-api.com/telemetry';
|
||||
const url =
|
||||
process.env.TELEMETRY_URL && process.env.TELEMETRY_URL !== ''
|
||||
? process.env.TELEMETRY_URL
|
||||
: 'https://log.evolution-api.com/telemetry';
|
||||
|
||||
axios
|
||||
.post(url, telemetry)
|
||||
|
Loading…
Reference in New Issue
Block a user