Commit 7841e928 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Romain Courteaud

slapos_jio_api_style: approve registration is a parameter of createCompute Node

parent 77e849a7
......@@ -11,6 +11,7 @@ if person is None:
request_kw = dict(
compute_node_title=data_dict.get("title", None),
approve_registration=approve_registration,
)
person.requestComputeNode(**request_kw)
compute_node = context.restrictedTraverse(context.REQUEST.get('compute_node'))
......
......@@ -50,7 +50,7 @@
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>data_dict, form_reference</string> </value>
<value> <string>data_dict, form_reference, approve_registration=True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
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