UI: Use correct endpoint for force revoke prefix (#16930)
* Use correct endpoint for force revoke prefix * Add changelog
This commit is contained in:
parent
b6c05fae33
commit
dd49b3bea3
|
@ -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');
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue