Commit 97187805 authored by Evgeniy Zaitsev's avatar Evgeniy Zaitsev
Browse files

v.1.1.2

parent dd1da2ac
{
"name": "service-sdk",
"version": "1.1.1",
"version": "1.1.2",
"private": true,
"description": "Service SDK for LViS",
"keywords": [],
......
......@@ -47,9 +47,11 @@ function* post() {
}
this.body = {
analytics: Boolean(this.config.analyticsCallback),
service_id: this.config.service.id,
service_type: this.config.service.type,
analytics: Boolean(this.config.analyticsCallback),
elements_notifications: this.config.elementsNotifications,
listings_notifications: this.config.listingsNotifications
};
}
......
......@@ -8,7 +8,7 @@ function* post() {
.isLength(1, 255).value,
config: this.checkBody('config').eq('[object Object]').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);
......
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