From 677fad79a25f0ab6b12a72b06f80fef7765d9d09 Mon Sep 17 00:00:00 2001 From: Au Date: Mon, 29 Oct 2018 14:46:45 +1100 Subject: [PATCH] Changed api version from beta to v1 --- client/src/data-sources/plugins/ApplicationInsights/common.ts | 2 +- server/routes/applicationInsights.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/data-sources/plugins/ApplicationInsights/common.ts b/client/src/data-sources/plugins/ApplicationInsights/common.ts index 34cc44d8..38ae41eb 100644 --- a/client/src/data-sources/plugins/ApplicationInsights/common.ts +++ b/client/src/data-sources/plugins/ApplicationInsights/common.ts @@ -1,5 +1,5 @@ -var appInsightsUri = 'https://api.applicationinsights.io/beta/apps'; +var appInsightsUri = 'https://api.applicationinsights.io/v1/apps'; var appId = process.env.REACT_APP_APP_INSIGHTS_APPID; var apiKey = process.env.REACT_APP_APP_INSIGHTS_APIKEY; diff --git a/server/routes/applicationInsights.js b/server/routes/applicationInsights.js index 5de7dd79..bd7eb1dc 100644 --- a/server/routes/applicationInsights.js +++ b/server/routes/applicationInsights.js @@ -7,7 +7,7 @@ const resourceFileProvider = require('../helpers/resourceFileProvider'); const resourceFieldProvider = require('../helpers/resourceFieldProvider'); const router = new express.Router(); -const appInsightsUri = 'https://api.applicationinsights.io/beta/apps'; +const appInsightsUri = 'https://api.applicationinsights.io/v1/apps'; router.post('/query', (req, res) => { const { query, queryTimespan, appId, dashboardId } = req.body;