Skip to content

Commit ac11684

Browse files
committed
pass options
1 parent 3301ad2 commit ac11684

File tree

1 file changed

+2
-2
lines changed
  • services/static-webserver/client/source/class/osparc/data

1 file changed

+2
-2
lines changed

services/static-webserver/client/source/class/osparc/data/Resources.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1441,14 +1441,14 @@ qx.Class.define("osparc.data.Resources", {
14411441
* @param {Object} params Object containing the parameters for the url and for the body of the request, under the properties 'url' and 'data', respectively.
14421442
* @param {Boolean} useCache Whether the cache has to be used. If false, an API call will be issued.
14431443
*/
1444-
get: function(resource, params, useCache = true) {
1444+
get: function(resource, params = {}, useCache = true, options = {}) {
14451445
if (useCache) {
14461446
const stored = this.__getCached(resource);
14471447
if (stored) {
14481448
return Promise.resolve(stored);
14491449
}
14501450
}
1451-
return this.fetch(resource, "get", params || {});
1451+
return this.fetch(resource, "get", params, options);
14521452
},
14531453

14541454
/**

0 commit comments

Comments
 (0)