Commit fdd7c452 authored by Xavier Thompson's avatar Xavier Thompson

slapproxy: Adapt hateoas support to match ERP5

It turns out that ERP5 returns
```
'form_id': {
  'type': 'StringField',
  'key': 'form_id',
  'default': 'InstanceTree_viewAsHateoas',
},
```
for the `form_id` in hateoas, so adapt the proxy to do the same.
parent ccc75639
......@@ -1090,8 +1090,8 @@ def hateoas_partitions(partition_reference):
'_view': {
'form_id': {
'type': 'StringField',
'key': 'partition',
'default': partition['reference'],
'key': 'form_id',
'default': 'InstanceTree_viewAsHateoas',
},
'my_reference': {
'type': 'StringField',
......
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