Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
N
node-bigstream
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bs
node-bigstream
Commits
617cc696
Commit
617cc696
authored
Mar 02, 2017
by
project
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
fe4ebe6e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
perform.js
plugins/di/di-agritronics/perform.js
+3
-2
No files found.
plugins/di/di-agritronics/perform.js
View file @
617cc696
...
@@ -59,8 +59,8 @@ function execute_function(context,response){
...
@@ -59,8 +59,8 @@ function execute_function(context,response){
},
function
(
err
)
{
},
function
(
err
)
{
if
(
err
)
{
if
(
err
)
{
//
response.error(err);
response
.
error
(
err
);
response
.
reject
();
//
response.reject();
}
else
{
}
else
{
//console.log(JSON.stringify(result));
//console.log(JSON.stringify(result));
response
.
success
(
result
,
output_type
);
response
.
success
(
result
,
output_type
);
...
@@ -79,6 +79,7 @@ function getData(url, lts, callback) {
...
@@ -79,6 +79,7 @@ function getData(url, lts, callback) {
vals
.
push
(
data
);
vals
.
push
(
data
);
beforeDateCheck
(
cts
,
lts
);
beforeDateCheck
(
cts
,
lts
);
}
}
else
callback
(
err
);
function
beforeDateCheck
(
ct
,
lt
){
function
beforeDateCheck
(
ct
,
lt
){
if
(
lt
.
isBefore
(
ct
,
'days'
))
{
if
(
lt
.
isBefore
(
ct
,
'days'
))
{
...
...
Write
Preview
Markdown
is supported
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