From 8ff3807db1e4441656db8cf8317cd1a6605fc24b Mon Sep 17 00:00:00 2001 From: Muhammad Abdullah Waheed <42172960+abdullahwaheed@users.noreply.github.com> Date: Thu, 30 May 2024 19:16:24 +0500 Subject: [PATCH] Revert "fix: updated version priority (#31)" (#32) This reverts commit 17fa3d94f3a6b4d7b287d7cdd26f89aee588023a. --- src/DatadogLoggingService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DatadogLoggingService.js b/src/DatadogLoggingService.js index 819ce79..8cf8701 100644 --- a/src/DatadogLoggingService.js +++ b/src/DatadogLoggingService.js @@ -39,7 +39,7 @@ class DatadogLoggingService extends NewRelicLoggingService { return; } - const datadogVersion = process.env.APP_VERSION || process.env.DATADOG_VERSION || '1.0.0'; + const datadogVersion = process.env.DATADOG_VERSION || process.env.APP_VERSION || '1.0.0'; datadogRum.init({ applicationId: process.env.DATADOG_APPLICATION_ID, clientToken: process.env.DATADOG_CLIENT_TOKEN,