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:
Sean Hatfield 2025-06-03 14:20:02 -07:00 committed by GitHub
parent 9470fcce09
commit 20321d6cfb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -104,7 +104,7 @@ export default function ApiCallNode({
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"
>
{["GET", "POST", "DELETE"].map((method) => (
{["GET", "POST", "DELETE", "PUT", "PATCH"].map((method) => (
<option
key={method}
value={method}