This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit d15686574b4a2f023847f0e5d6fa35f991d6303e
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Dec 6 15:03:17 2021 +0100

    The remove-header-name EIP should use name instead of header-name
---
 .../src/main/resources/kamelets/openai-completion-action.kamelet.yaml   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/openai-completion-action.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/openai-completion-action.kamelet.yaml
index 5dbda10..0818994 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/openai-completion-action.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/openai-completion-action.kamelet.yaml
@@ -94,7 +94,7 @@ spec:
           constant: "application/json"
       - to: "https://api.openai.com/v1/engines/{{engine}}/completions";
       - remove-header:
-          header-name: "Authorization"
+          name: "Authorization"
       - set-property:
           name: format
           constant: "{{format}}"

Reply via email to