Skip to content

Commit

Permalink
Use example values that aren't so goofy.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Mar 23, 2020
1 parent 6daffe2 commit 69631a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
* you may not use this file except in compliance with the Elastic License.
*/

export { AppContextProvider } from './context';
export { AppContextProvider, useAppContext } from './context';
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ export const initialPayload = {
context: painlessContextOptions[0].value,
code: exampleScript,
parameters: `{
"string-parameter": "yay",
"number-parameter": 1.5,
"boolean-parameter": true
"string_parameter": "string value",
"number_parameter": 1.5,
"boolean_parameter": true
}`,
index: 'default-index',
index: 'my-index',
document: `{
"my-field": "field-value"
"my_field": "field_value"
}`,
query: '',
};

0 comments on commit 69631a4

Please sign in to comment.