Add support for PUT and PATCH in agent flow builder API call block (#3937)
add support for PUT and PATCH in agent flow builder api call block Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
This commit is contained in:
parent
9470fcce09
commit
20321d6cfb
@ -104,7 +104,7 @@ export default function ApiCallNode({
|
|||||||
onChange={(e) => onConfigChange({ method: e.target.value })}
|
onChange={(e) => onConfigChange({ method: e.target.value })}
|
||||||
className="w-full border-none bg-theme-settings-input-bg text-theme-text-primary text-sm rounded-lg focus:outline-primary-button active:outline-primary-button outline-none p-2.5"
|
className="w-full border-none bg-theme-settings-input-bg text-theme-text-primary text-sm rounded-lg focus:outline-primary-button active:outline-primary-button outline-none p-2.5"
|
||||||
>
|
>
|
||||||
{["GET", "POST", "DELETE"].map((method) => (
|
{["GET", "POST", "DELETE", "PUT", "PATCH"].map((method) => (
|
||||||
<option
|
<option
|
||||||
key={method}
|
key={method}
|
||||||
value={method}
|
value={method}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user