Commit 93dff9e9 authored by Evgeniy Zaitsev's avatar Evgeniy Zaitsev
Browse files

v0.0.17

parent a0121eb9
{
"name": "service-sdk",
"version": "0.0.16",
"version": "0.0.17",
"private": true,
"description": "Service SDK for LViS",
"keywords": [],
......
......@@ -37,7 +37,7 @@ router
.get(
'/lvis/:instanceId/project/:projectId/tabs/:tabId',
checkInstanceId, checkProjectId, checkTabId, checkSessionToken, tab.getEvent
checkInstanceId, checkProjectId, checkTabId, checkSessionToken, tab.getProject
)
.get(
......
......@@ -45,5 +45,7 @@ function * fetchUser() {
this.logger.log(__filename, 'fetch user url:', url);
yield fetch(url).then(res => res.json());
yield fetch(url)
.then(res => res.json())
.then(user => Object.assign(user, {sessionToken: this.state.sessionToken}));
}
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