Skip to content

Commit

Permalink
Fix [New function] No default for handler
Browse files Browse the repository at this point in the history
  • Loading branch information
mavdryk committed Nov 16, 2023
1 parent 2f6fc03 commit 402595a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements/FunctionsPanelCode/FunctionsPanelCode.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const FunctionsPanelCode = ({
const [data, setData] = useState({
default_class: defaultData.default_class ?? '',
entry: DEFAULT_ENTRY,
handler: defaultData.default_handler ?? '',
handler: defaultData.default_handler ?? 'handler',
image: defaultData.image ?? '',
base_image: defaultData.build?.base_image ?? '',
requirements: (defaultData.build?.requirements || []).join(', ') ?? '',
Expand Down

0 comments on commit 402595a

Please sign in to comment.