open-vault/ui/app/adapters/clients/version-history.js
Angel Garbarino 10e0c1d537
Client counts version-history endpoint (#13907)
* setup

* add catch for when no payload

* clean up

* pr comments

* wip

* finish findAll fixes

* clean up

* remove console log
2022-02-08 11:12:23 -07:00

14 lines
264 B
JavaScript

import Application from '../application';
export default Application.extend({
findAll() {
return this.ajax(this.buildURL() + '/version-history', 'GET', {
data: {
list: true,
},
}).then((resp) => {
return resp;
});
},
});