Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
publics
service-sdk-releases
Commits
b71f8555
Commit
b71f8555
authored
Oct 20, 2016
by
Evgeniy Zaitsev
Browse files
v0.0.23
parent
791e69b0
Changes
2
Show whitespace changes
Inline
Side-by-side
middlewares/checkSessionToken.js
View file @
b71f8555
...
...
@@ -17,7 +17,7 @@ function * checkSessionToken(next) {
this
.
throwResponseErrorIfNeed
(
!
user
||
!
user
.
id
,
'
session token is invalid
'
);
this
.
state
.
user
=
user
;
this
.
state
.
user
=
Object
.
assign
({
sessionToken
},
user
)
;
yield
next
;
}
...
...
package.json
View file @
b71f8555
{
"name"
:
"service-sdk"
,
"version"
:
"0.0.2
2
"
,
"version"
:
"0.0.2
3
"
,
"private"
:
true
,
"description"
:
"Service SDK for LViS"
,
"keywords"
:
[],
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment