Commit 6525a250 authored by Evgeniy Zaitsev's avatar Evgeniy Zaitsev
Browse files

v0.0.15

parent 301212f3
...@@ -77,21 +77,27 @@ class SDK { ...@@ -77,21 +77,27 @@ class SDK {
} }
fetchPrivateLatestResultsByEventId(feedEndpoint, projectFeedUUID, eventId) { fetchPrivateLatestResultsByEventId(feedEndpoint, projectFeedUUID, eventId) {
this.logger.log(__filename, 'fetch private latest result by event uuid', feedEndpoint, eventId); this.logger.log(__filename, 'fetch private latest result by event uuid',
feedEndpoint, projectFeedUUID, eventId
);
return this._fetchPrivateListingsAndGetEventFeedUUID(feedEndpoint, projectFeedUUID, eventId) return this._fetchPrivateListingsAndGetEventFeedUUID(feedEndpoint, projectFeedUUID, eventId)
.then(eventFeedUUID => this.fetchPrivateLatestResultsByEventFeedUUID(feedEndpoint, eventFeedUUID)); .then(eventFeedUUID => this.fetchPrivateLatestResultsByEventFeedUUID(feedEndpoint, eventFeedUUID));
} }
fetchPrivateAllPublishedElementsByEventId(feedEndpoint, projectFeedUUID, eventId) { fetchPrivateAllPublishedElementsByEventId(feedEndpoint, projectFeedUUID, eventId) {
this.logger.log(__filename, 'fetch private all publish elements by event uuid', feedEndpoint, eventId); this.logger.log(__filename, 'fetch private all publish elements by event uuid',
feedEndpoint, projectFeedUUID, eventId
);
return this._fetchPrivateListingsAndGetEventFeedUUID(feedEndpoint, projectFeedUUID, eventId) return this._fetchPrivateListingsAndGetEventFeedUUID(feedEndpoint, projectFeedUUID, eventId)
.then(eventFeedUUID => this.fetchPrivateAllPublishedElementsByEventFeedUUID(feedEndpoint, eventFeedUUID)); .then(eventFeedUUID => this.fetchPrivateAllPublishedElementsByEventFeedUUID(feedEndpoint, eventFeedUUID));
} }
fetchPrivateAllElementsByEventId(feedEndpoint, projectFeedUUID, eventId) { fetchPrivateAllElementsByEventId(feedEndpoint, projectFeedUUID, eventId) {
this.logger.log(__filename, 'fetch private all elements by event uuid', feedEndpoint, eventId); this.logger.log(__filename, 'fetch private all elements by event uuid',
feedEndpoint, projectFeedUUID, eventId
);
return this._fetchPrivateListingsAndGetEventFeedUUID(feedEndpoint, projectFeedUUID, eventId) return this._fetchPrivateListingsAndGetEventFeedUUID(feedEndpoint, projectFeedUUID, eventId)
.then(eventFeedUUID => this.fetchPrivateAllElementsByEventFeedUUID(feedEndpoint, eventFeedUUID)); .then(eventFeedUUID => this.fetchPrivateAllElementsByEventFeedUUID(feedEndpoint, eventFeedUUID));
...@@ -146,7 +152,7 @@ class SDK { ...@@ -146,7 +152,7 @@ class SDK {
throw new Error('event is no found in listings'); throw new Error('event is no found in listings');
} }
return event.id; return event.feed_uuid;
} }
} }
......
{ {
"name": "service-sdk", "name": "service-sdk",
"version": "0.0.14", "version": "0.0.15",
"private": true, "private": true,
"description": "Service SDK for LViS", "description": "Service SDK for LViS",
"keywords": [], "keywords": [],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment