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