We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6e39751 + 1f89423 commit 0bb209aCopy full SHA for 0bb209a
common/scicat-service.js
@@ -33,8 +33,8 @@ exports.Dataset = class {
33
//console.log(">>> Dataset.findById pid", encodedId);
34
//console.log(">>> Dataset.findById filter", jsonFilter);
35
const url = jsonFilter
36
- ? baseUrl + "/api/v4/datasets/public" + encodedId + "?filter=" + jsonFilter
37
- : baseUrl + "/api/v4/datasets/public" + encodedId;
+ ? baseUrl + "/api/v4/datasets/public/" + encodedId + "?filter=" + jsonFilter
+ : baseUrl + "/api/v4/datasets/public/" + encodedId;
38
const res = await superagent.get(url);
39
return JSON.parse(res.text);
40
}
0 commit comments