Skip to content

Commit ff9ee17

Browse files
committed
Changed the json attributes to match the application changes to the URI
1 parent 0648759 commit ff9ee17

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rest/domain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def get(self, domain_name=None):
4444
'id': dom_info._get_identifier(),
4545
'name': dom_info.name,
4646
'properties': self.format_properties(properties),
47-
'waveforms': apps,
47+
'applications': apps,
4848
'deviceManagers': device_managers
4949
}
5050

rest/waveform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def get(self, domain_name, app_id=None):
5252
wfs = yield self.redhawk.get_application_list(domain_name)
5353
avail = yield self.redhawk.get_available_applications(domain_name)
5454

55-
info = {'waveforms': wfs, 'available': avail}
55+
info = {'applications': wfs, 'waveforms': avail}
5656

5757
self._render_json(info)
5858

0 commit comments

Comments
 (0)