Skip to content

Commit

Permalink
add default value to overwrite param of upload command (feedback fr…
Browse files Browse the repository at this point in the history
…om PR elastic#156303)
  • Loading branch information
paul-tavares committed May 9, 2023
1 parent a44b08b commit 5d6990c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export const UploadActionRequestSchema = {
...BaseActionRequestSchema,

parameters: schema.object({
overwrite: schema.maybe(schema.boolean()),
overwrite: schema.maybe(schema.boolean({ defaultValue: false })),
}),

file: schema.stream(),
Expand Down

0 comments on commit 5d6990c

Please sign in to comment.