mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
fixing license endpoint paths for proxy (#22133)
This commit is contained in:
parent
b7bac987db
commit
f20b9b9efb
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ export async function canStartTrial(req) {
|
|||
const { callWithRequest } = req.server.plugins.elasticsearch.getCluster('admin');
|
||||
const options = {
|
||||
method: 'GET',
|
||||
path: '_xpack/license/trial_status'
|
||||
path: '/_xpack/license/trial_status'
|
||||
};
|
||||
try {
|
||||
const response = await callWithRequest(req, 'transport.request', options);
|
||||
|
@ -22,7 +22,7 @@ export async function startTrial(req, xpackInfo) {
|
|||
const { callWithRequest } = req.server.plugins.elasticsearch.getCluster('admin');
|
||||
const options = {
|
||||
method: 'POST',
|
||||
path: '_xpack/license/start_trial?acknowledge=true'
|
||||
path: '/_xpack/license/start_trial?acknowledge=true'
|
||||
};
|
||||
try {
|
||||
/*eslint camelcase: 0*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue