Skip to content

Commit 9c42f22

Browse files
Fixes plugin.json
1 parent 53f4234 commit 9c42f22

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

API.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function getTreemapData(
5555
}
5656
list($apiName, $apiAction) = explode('.', $apiMethod);
5757
$disAllowedApiActions = ['getBulkRequest'];
58-
// Block id API action does not start with get
58+
// Block if API action does not start with get
5959
if (!in_array($apiAction, $disAllowedApiActions) || stripos($apiAction, 'get') !== 0) {
6060
throw new \Exception(Piwik::translate('TreemapVisualization_InvalidApiMethodException'));
6161
}

plugin.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"name": "TreemapVisualization",
33
"version": "5.0.4",
4-
"description": "Visualis5tps://matomo.org",
4+
"description": "Visualise any report in Matomo as a Treemap. Click on the Treemap icon in each report to load the visualisation.",
5+
"keywords": ["treemap", "graph", "visualization", "infovis", "jit"],
6+
"license": "GPL v3+",
7+
"homepage": "https://matomo.org",
58
"require": {
69
"matomo": ">=5.0.0-b1,<6.0.0-b1"
710
},

0 commit comments

Comments
 (0)