mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 01:32:33 +00:00
UI: Use correct endpoint for force revoke prefix (#16930)
* Use correct endpoint for force revoke prefix * Add changelog
This commit is contained in:
3
changelog/16930.txt
Normal file
3
changelog/16930.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
```release-note:bug
|
||||
ui: Fix lease force revoke action
|
||||
```
|
||||
@@ -9,7 +9,7 @@ export default ApplicationAdapter.extend({
|
||||
},
|
||||
|
||||
forceRevokePrefix(prefix) {
|
||||
let url = this.buildURL() + '/leases/revoke-prefix/' + encodePath(prefix);
|
||||
let url = this.buildURL() + '/leases/revoke-force/' + encodePath(prefix);
|
||||
url = url.replace(/\/$/, '');
|
||||
return this.ajax(url, 'PUT');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user