Ayush Gupta před 12 roky
rodič
revize
4570b99136
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      lib/swagger.js

+ 2
- 2
lib/swagger.js Zobrazit soubor

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


Načítá se…
Zrušit
Uložit