mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-17 20:17:00 +02:00
19 lines
382 B
JavaScript
19 lines
382 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
import ApplicationAdapter from '../application';
|
|
|
|
export default class VersionHistoryAdapter extends ApplicationAdapter {
|
|
findAll() {
|
|
return this.ajax(this.buildURL() + '/version-history', 'GET', {
|
|
data: {
|
|
list: true,
|
|
},
|
|
}).then((resp) => {
|
|
return resp;
|
|
});
|
|
}
|
|
}
|