open-vault/ui/app/adapters/pki-ca-certificate-sign.js

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`;
},
});