This commit is contained in:
Ayush Gupta
2012-08-28 16:54:36 +05:30
parent 221373c9da
commit 4570b99136

View File

@@ -354,9 +354,9 @@
args[this.apiKeyName] = this.resource.api.api_key; args[this.apiKeyName] = this.resource.api.api_key;
} }
if (this.supportHeaderParams()) { if (this.supportHeaderParams()) {
queryParams = jQuery.param(this.getQueryParams(args)); queryParams = jQuery.param(this.getQueryParams(args, includeApiKey));
} else { } else {
queryParams = jQuery.param(this.getQueryAndHeaderParams(args)); queryParams = jQuery.param(this.getQueryAndHeaderParams(args, includeApiKey));
} }
if ((queryParams != null) && queryParams.length > 0) { if ((queryParams != null) && queryParams.length > 0) {
url += "?" + queryParams; url += "?" + queryParams;