open-vault/ui/app/adapters/pki-ca-certificate-sign.js
2018-04-03 09:16:57 -05:00

9 lines
190 B
JavaScript

import Adapter from './pki';
export default Adapter.extend({
url(_, snapshot) {
const backend = snapshot.attr('backend');
return `/v1/${backend}/root/sign-intermediate`;
},
});