Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initialization service #7145

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function checkExistenceIndices(indexPatternId: string) {

async function createIndexPattern(indexPattern, fields: any) {
try {
await SavedObject.createSavedObjectIndexPattern(
await SavedObject.createSavedObject(
'index-pattern',
indexPattern,
{
Expand Down
Loading
Loading