Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Changed api version from beta to v1 #391

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
2 changes: 1 addition & 1 deletion server/routes/applicationInsights.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down