Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wattsworth
/
lumen-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7c967683
authored
May 19, 2017
by
John Doe
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug fix
parent
7b39aaf0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
app/services/data/load_stream_data.rb
app/services/data/load_stream_data.rb
View file @
7c967683
...
...
@@ -202,7 +202,13 @@ class LoadStreamData
# eg: events, compute intervals from the actual decimated data
def
__build_intervals_from_decimated_data
(
elements
,
resp
)
# compute intervals from resp
return
{
id:
e
.
id
,
type:
'interval'
,
values:
[]
}
if
resp
.
empty?
if
resp
.
empty?
elements
.
map
do
|
e
|
{
id:
e
.
id
,
type:
'interval'
,
values:
[]
}
end
end
intervals
=
[]
interval_start
=
nil
interval_end
=
nil
...
...
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