fix graphite api call

This commit is contained in:
Girish Ramakrishnan 2016-04-05 22:17:40 -07:00
parent bef64f6fb6
commit 497cc89a07
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ Cloudron.prototype.checkA = function (callback) {
Cloudron.prototype._checkGraphs = function (targets, from) {
var params = {
target: targets,
target: targets.length === 1 ? targets[0] : targets,
format: 'json',
from: from,
access_token: this._credentials.accessToken