Commit 24eb3f6f authored by Romain Courteaud's avatar Romain Courteaud

slapos_jio: use parameters as if they were configured on the gadget field

parent b35eddc9
...@@ -43,10 +43,10 @@ ...@@ -43,10 +43,10 @@
.declareMethod("render", function (options) { .declareMethod("render", function (options) {
var gadget = this; var gadget = this;
return gadget.changeState({ return gadget.changeState({
author: options.value.doc.source, author: options.source,
modification_date: options.value.doc.modification_date, modification_date: options.modification_date,
text_content: options.value.doc.text_content, text_content: options.text_content,
content_type: options.value.doc.content_type content_type: options.content_type
}); });
}); });
}(window, rJS, domsugar)); }(window, rJS, domsugar));
\ No newline at end of file
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1002.9606.37397.136</string> </value> <value> <string>1002.12197.26478.31573</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1660875500.26</float> <float>1660914411.06</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
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 to comment