We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7e1dec commit 7f41888Copy full SHA for 7f41888
src/Databox/Client.php
@@ -51,11 +51,9 @@ public function insertAll($kpis)
51
{
52
$response = $this->rawPush('/', [
53
'json' => ['data' => array_map(function ($i) {
54
- if (count($i) < 3) {
55
- $i[] = null;
56
- }
+ $i = $i + [null, null, null, null];
57
58
- return $this->processKPI($i[0], $i[1], $i[2]);
+ return $this->processKPI($i[0], $i[1], $i[2], $i[3]);
59
}, $kpis)]
60
]);
61
0 commit comments