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
df09e963
authored
Apr 21, 2017
by
John Doe
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
added stream_id to element json
parent
7da65920
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/models/db_element.rb
app/models/db_element.rb
View file @
df09e963
...
@@ -30,7 +30,7 @@ class DbElement < ApplicationRecord
...
@@ -30,7 +30,7 @@ class DbElement < ApplicationRecord
end
end
def
self
.
json_keys
def
self
.
json_keys
[
:id
,
:name
,
:units
,
:column
,
:default_max
,
:discrete
,
[
:id
,
:
db_stream_id
,
:
name
,
:units
,
:column
,
:default_max
,
:discrete
,
:default_min
,
:scale_factor
,
:offset
,
:plottable
]
:default_min
,
:scale_factor
,
:offset
,
:plottable
]
end
end
end
end
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