Commit df09e963 by John Doe

added stream_id to element json

parent 7da65920
Showing with 1 additions and 1 deletions
...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment