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
97187805
Commit
97187805
authored
Dec 13, 2017
by
Evgeniy Zaitsev
Browse files
v.1.1.2
parent
dd1da2ac
Changes
3
Hide whitespace changes
Inline
Side-by-side
package.json
View file @
97187805
{
{
"name"
:
"service-sdk"
,
"name"
:
"service-sdk"
,
"version"
:
"1.1.
1
"
,
"version"
:
"1.1.
2
"
,
"private"
:
true
,
"private"
:
true
,
"description"
:
"Service SDK for LViS"
,
"description"
:
"Service SDK for LViS"
,
"keywords"
:
[],
"keywords"
:
[],
...
...
router/lvis.js
View file @
97187805
...
@@ -47,9 +47,11 @@ function* post() {
...
@@ -47,9 +47,11 @@ function* post() {
}
}
this
.
body
=
{
this
.
body
=
{
analytics
:
Boolean
(
this
.
config
.
analyticsCallback
),
service_id
:
this
.
config
.
service
.
id
,
service_id
:
this
.
config
.
service
.
id
,
service_type
:
this
.
config
.
service
.
type
,
service_type
:
this
.
config
.
service
.
type
,
analytics
:
Boolean
(
this
.
config
.
analyticsCallback
),
elements_notifications
:
this
.
config
.
elementsNotifications
,
listings_notifications
:
this
.
config
.
listingsNotifications
};
};
}
}
...
...
router/project.js
View file @
97187805
...
@@ -8,7 +8,7 @@ function* post() {
...
@@ -8,7 +8,7 @@ function* post() {
.
isLength
(
1
,
255
).
value
,
.
isLength
(
1
,
255
).
value
,
config
:
this
.
checkBody
(
'
config
'
).
eq
(
'
[object Object]
'
).
value
,
config
:
this
.
checkBody
(
'
config
'
).
eq
(
'
[object Object]
'
).
value
,
feed_uuid
:
this
.
checkBody
(
'
feed_uuid
'
).
isUUID
().
value
,
feed_uuid
:
this
.
checkBody
(
'
feed_uuid
'
).
isUUID
().
value
,
project_id
:
this
.
checkBody
(
'
project_id
'
).
isInt
().
value
,
project_id
:
this
.
checkBody
(
'
project_id
'
).
isInt
().
value
};
};
const
str
=
JSON
.
stringify
(
project
);
const
str
=
JSON
.
stringify
(
project
);
...
...
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