mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
parent
9219ef2413
commit
e8957c2592
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ export function startBasic(acknowledge) {
|
||||||
|
|
||||||
export function startTrial() {
|
export function startTrial() {
|
||||||
const options = {
|
const options = {
|
||||||
url: chrome.addBasePath('/api/license/start_trial?acknowledge=true'),
|
url: chrome.addBasePath('/api/license/start_trial'),
|
||||||
contentType: 'application/json',
|
contentType: 'application/json',
|
||||||
cache: false,
|
cache: false,
|
||||||
crossDomain: true,
|
crossDomain: true,
|
||||||
|
|
|
@ -22,7 +22,7 @@ export async function startTrial(req, xpackInfo) {
|
||||||
const { callWithRequest } = req.server.plugins.elasticsearch.getCluster('admin');
|
const { callWithRequest } = req.server.plugins.elasticsearch.getCluster('admin');
|
||||||
const options = {
|
const options = {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
path: '_xpack/license/start_trial'
|
path: '_xpack/license/start_trial?acknowledge=true'
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
/*eslint camelcase: 0*/
|
/*eslint camelcase: 0*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue