Implements interface packet distro datasource

This commit is contained in:
Simone Mainardi 2021-01-06 11:38:19 +01:00
parent 6546e3d9bd
commit 75b66d82b9
3 changed files with 46 additions and 7 deletions

View file

@ -79,7 +79,7 @@ function datasource:rest_send_response()
rest_utils.answer(
rest_utils.consts.success.ok,
self.datamodel_instance:getAsTable() -- TODO: this should be a generic response, not Table
self.datamodel_instance:get_data()
)
end