Skip to content

Commit

Permalink
fix: prevent http node overwrite on open (#4127)
Browse files Browse the repository at this point in the history
  • Loading branch information
perzeuss authored May 7, 2024
1 parent 13cd409 commit 6563cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/components/workflow/nodes/http/use-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ const useConfig = (id: string, payload: HttpNodeType) => {
const isReady = defaultConfig && Object.keys(defaultConfig).length > 0
if (isReady) {
setInputs({
...inputs,
...defaultConfig,
...inputs,
})
}
// eslint-disable-next-line react-hooks/exhaustive-deps
Expand Down

0 comments on commit 6563cb6

Please sign in to comment.