Skip to content

Commit

Permalink
revert changes to ingestPipeline schema
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Jan 29, 2021
1 parent baeb6db commit 0b31512
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/file_upload/server/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const importFileBodySchema = schema.object({
mappings: schema.any(),
/** Ingest pipeline definition */
ingestPipeline: schema.object({
id: schema.string(),
pipeline: schema.any(),
id: schema.maybe(schema.string()),
pipeline: schema.maybe(schema.any()),
}),
});

0 comments on commit 0b31512

Please sign in to comment.