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

v0.0.17

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