Skip to content

Commit

Permalink
fix: updated version priority (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahwaheed authored May 28, 2024
1 parent dbc314e commit 17fa3d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DatadogLoggingService.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class DatadogLoggingService extends NewRelicLoggingService {
return;
}

const datadogVersion = process.env.DATADOG_VERSION || process.env.APP_VERSION || '1.0.0';
const datadogVersion = process.env.APP_VERSION || process.env.DATADOG_VERSION || '1.0.0';
datadogRum.init({
applicationId: process.env.DATADOG_APPLICATION_ID,
clientToken: process.env.DATADOG_CLIENT_TOKEN,
Expand Down

0 comments on commit 17fa3d9

Please sign in to comment.