We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56a165d commit fa05cf8Copy full SHA for fa05cf8
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "evolution-api",
3
- "version": "2.0.8-rc",
+ "version": "2.0.9-rc",
4
"description": "Rest api for communication with WhatsApp",
5
"main": "./dist/src/main.js",
6
"scripts": {
src/utils/sendTelemetry.ts
@@ -26,7 +26,10 @@ export const sendTelemetry = async (route: string): Promise<void> => {
26
timestamp: new Date(),
27
};
28
29
- const url = process.env.TELEMETRY_URL || 'https://log.evolution-api.com/telemetry';
+ const url =
30
+ process.env.TELEMETRY_URL && process.env.TELEMETRY_URL !== ''
31
+ ? process.env.TELEMETRY_URL
32
+ : 'https://log.evolution-api.com/telemetry';
33
34
axios
35
.post(url, telemetry)
0 commit comments