passing acknowledge=true with start_trial (#18655) (#18666)

This commit is contained in:
Bill McConaghy 2018-04-30 13:02:42 -04:00 committed by GitHub
parent 9219ef2413
commit e8957c2592
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ export function startBasic(acknowledge) {
export function startTrial() {
const options = {
url: chrome.addBasePath('/api/license/start_trial?acknowledge=true'),
url: chrome.addBasePath('/api/license/start_trial'),
contentType: 'application/json',
cache: false,
crossDomain: true,

View file

@ -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'
path: '_xpack/license/start_trial?acknowledge=true'
};
try {
/*eslint camelcase: 0*/