appstore: make the features file readable
This commit is contained in:
+1
-1
@@ -121,7 +121,7 @@ async function getSubscription() {
|
||||
if (typeof response.body.features[f] !== 'undefined') gFeatures[f] = response.body.features[f];
|
||||
if (response.body.features[f] === null) gFeatures[f] = 100000; // null essentially means unlimited
|
||||
}
|
||||
safe.fs.writeFileSync(paths.FEATURES_INFO_FILE, JSON.stringify(gFeatures), 'utf8');
|
||||
safe.fs.writeFileSync(paths.FEATURES_INFO_FILE, JSON.stringify(gFeatures, null, 2), 'utf8');
|
||||
|
||||
return response.body;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user