diff --git a/docs/addons/datadog.md b/docs/addons/datadog.md index a5dc705d6e..6159a31b4c 100644 --- a/docs/addons/datadog.md +++ b/docs/addons/datadog.md @@ -3,7 +3,7 @@ id: datadog title: Datadog --- -> This feature was introduced in \_Unleash v4.0.x. +> This feature was introduced in _Unleash v4.0.0_. The Datadog addon allows Unleash to post Updates to Datadog when a feature toggle is updated. To set up this addon, you need to set up a webhook connector for your channel. You can follow [Submitting events to Datadog](https://docs.datadoghq.com/api/latest/events/#post-an-event) on how to do that. diff --git a/docs/addons/teams.md b/docs/addons/teams.md index 6a75668ef9..7c4b0176e1 100644 --- a/docs/addons/teams.md +++ b/docs/addons/teams.md @@ -3,7 +3,7 @@ id: teams title: Microsoft Teams --- -> This feature was introduced in \_Unleash v4.0.x. +> This feature was introduced in _Unleash v4.0.0_. The MicrosoftTeams addon allows Unleash to post Updates when a feature toggle is updated. To set up this addon, you need to set up a webhook connector for your channel. You can follow [Creating an Incoming Webhook for a channel](https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook) on how to do that. diff --git a/docs/user_guide/whats-new-v4.md b/docs/user_guide/whats-new-v4.md index cea49787cb..f52ac0e9de 100644 --- a/docs/user_guide/whats-new-v4.md +++ b/docs/user_guide/whats-new-v4.md @@ -27,7 +27,7 @@ With Role-Based Access Control you can now assign groups to users in order to co Addons make it easy to integrate Unleash with other systems. In version 4 we bring two new integrations to Unleash: - [Microsoft Teams](../addons/teams) -- [Datadog](../datadog) +- [Datadog](../addons/datadog) ### Improved UX diff --git a/src/lib/routes/client-api/index.js b/src/lib/routes/client-api/index.js index 0a28350148..137bed9188 100644 --- a/src/lib/routes/client-api/index.js +++ b/src/lib/routes/client-api/index.js @@ -1,9 +1,9 @@ 'use strict'; const Controller = require('../controller'); -const FeatureController = require('./feature.js'); -const MetricsController = require('./metrics.js'); -const RegisterController = require('./register.js'); +const FeatureController = require('./feature'); +const MetricsController = require('./metrics'); +const RegisterController = require('./register'); const apiDef = require('./api-def.json'); class ClientApi extends Controller { diff --git a/src/lib/services/client-metrics/index.js b/src/lib/services/client-metrics/index.js index 0be3158a87..64bde40843 100644 --- a/src/lib/services/client-metrics/index.js +++ b/src/lib/services/client-metrics/index.js @@ -2,8 +2,8 @@ 'use strict'; -const Projection = require('./projection.js'); -const TTLList = require('./ttl-list.js'); +const Projection = require('./projection'); +const TTLList = require('./ttl-list'); const appSchema = require('./metrics-schema'); const { clientMetricsSchema } = require('./client-metrics-schema'); const { clientRegisterSchema } = require('./register-schema');