aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ApiInteraction.Javascript
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.ApiInteraction.Javascript')
-rw-r--r--MediaBrowser.ApiInteraction.Javascript/ApiClient.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/MediaBrowser.ApiInteraction.Javascript/ApiClient.js b/MediaBrowser.ApiInteraction.Javascript/ApiClient.js
index de8f443d8..0b185a55e 100644
--- a/MediaBrowser.ApiInteraction.Javascript/ApiClient.js
+++ b/MediaBrowser.ApiInteraction.Javascript/ApiClient.js
@@ -815,8 +815,8 @@ var ApiClient = {
}
// Don't put these on the query string
- options.type = null;
- options.index = null;
+ delete options.type;
+ delete options.index;
return ApiClient.getUrl(url, options);
},
@@ -849,8 +849,8 @@ var ApiClient = {
}
// Don't put these on the query string
- options.type = null;
- options.index = null;
+ delete options.type;
+ delete options.index;
return ApiClient.getUrl(url, options);
},
@@ -883,8 +883,8 @@ var ApiClient = {
}
// Don't put these on the query string
- options.type = null;
- options.index = null;
+ delete options.type;
+ delete options.index;
return ApiClient.getUrl(url, options);
},
@@ -917,8 +917,8 @@ var ApiClient = {
}
// Don't put these on the query string
- options.type = null;
- options.index = null;
+ delete options.type;
+ delete options.index;
return ApiClient.getUrl(url, options);
},
@@ -951,8 +951,8 @@ var ApiClient = {
}
// Don't put these on the query string
- options.type = null;
- options.index = null;
+ delete options.type;
+ delete options.index;
return ApiClient.getUrl(url, options);
},
@@ -987,8 +987,8 @@ var ApiClient = {
}
// Don't put these on the query string
- options.type = null;
- options.index = null;
+ delete options.type;
+ delete options.index;
return ApiClient.getUrl(url, options);
},