From 81361b67946a347d31ef96d61e3dd11503a6ad5b Mon Sep 17 00:00:00 2001 From: Damian Stasik Date: Sun, 31 Oct 2021 00:11:24 +0200 Subject: [PATCH] fix: notification to upgrade dashboard for latest features not working (#1894) --- Parse-Dashboard/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parse-Dashboard/app.js b/Parse-Dashboard/app.js index 2a793e5610..32a4579386 100644 --- a/Parse-Dashboard/app.js +++ b/Parse-Dashboard/app.js @@ -9,7 +9,7 @@ var fs = require('fs'); const currentVersionFeatures = require('../package.json').parseDashboardFeatures; var newFeaturesInLatestVersion = []; -packageJson('parse-dashboard', 'latest').then(latestPackage => { +packageJson('parse-dashboard', { version: 'latest', fullMetadata: true }).then(latestPackage => { if (latestPackage.parseDashboardFeatures instanceof Array) { newFeaturesInLatestVersion = latestPackage.parseDashboardFeatures.filter(feature => { return currentVersionFeatures.indexOf(feature) === -1;