attlaz-client 1.9.16 → 1.9.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,7 +9,7 @@ const FlowSummary_1 = require("../Model/Flow/FlowSummary");
|
|
|
9
9
|
class FlowEndpoint extends Endpoint_1.Endpoint {
|
|
10
10
|
async getByProject(projectId) {
|
|
11
11
|
try {
|
|
12
|
-
let url = '/
|
|
12
|
+
let url = '/projects/' + projectId + '/flows';
|
|
13
13
|
const result = await this.requestCollection(url, null, Flow_1.Flow.parse);
|
|
14
14
|
return result;
|
|
15
15
|
}
|
|
@@ -115,7 +115,7 @@ class LogEndpoint extends Endpoint_1.Endpoint {
|
|
|
115
115
|
const parser = (raw) => {
|
|
116
116
|
return new LogStream_1.LogStream(new LogStreamId_1.LogStreamId(raw['id']['id']), raw['name']);
|
|
117
117
|
};
|
|
118
|
-
const result = await this.requestCollection('
|
|
118
|
+
const result = await this.requestCollection('projects/' + projectId + '/logstreams', null, parser);
|
|
119
119
|
return result;
|
|
120
120
|
}
|
|
121
121
|
}
|