fix graphite api call
This commit is contained in:
parent
bef64f6fb6
commit
497cc89a07
@ -308,7 +308,7 @@ Cloudron.prototype.checkA = function (callback) {
|
|||||||
|
|
||||||
Cloudron.prototype._checkGraphs = function (targets, from) {
|
Cloudron.prototype._checkGraphs = function (targets, from) {
|
||||||
var params = {
|
var params = {
|
||||||
target: targets,
|
target: targets.length === 1 ? targets[0] : targets,
|
||||||
format: 'json',
|
format: 'json',
|
||||||
from: from,
|
from: from,
|
||||||
access_token: this._credentials.accessToken
|
access_token: this._credentials.accessToken
|
||||||
|
Loading…
Reference in New Issue
Block a user