From 935765566778cc6ffb357aab290e86a8e5729fbd Mon Sep 17 00:00:00 2001 From: Thomas Hansen Date: Wed, 27 Dec 2023 17:33:43 +0200 Subject: [PATCH] b --- .../files/misc/workflows/actions/http/http-delete.hl | 10 +++++----- .../misc/workflows/snippets/return-all-actions.hl | 2 +- .../misc/workflows/snippets/return-last-action.hl | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/backend/files/misc/workflows/actions/http/http-delete.hl b/backend/files/misc/workflows/actions/http/http-delete.hl index e3b1ffa91c..a75a28313c 100644 --- a/backend/files/misc/workflows/actions/http/http-delete.hl +++ b/backend/files/misc/workflows/actions/http/http-delete.hl @@ -37,25 +37,25 @@ if .:& // Creating HTTP invocation. -http.get:x:@.arguments/*/url +http.delete:x:@.arguments/*/url convert:bool:true // Verifying above invocation succeeded. if and - mte:x:@http.get + mte:x:@http.delete .:int:200 - lt:x:@http.get + lt:x:@http.delete .:int:300 .lambda // Returning result to caller. - return-nodes:x:@http.get/content/* + return-nodes:x:@http.delete/content/* else // Oops ...!! - lambda2hyper:x:@http.get + lambda2hyper:x:@http.delete log.error:HTTP GET invocation failed response:x:@lambda2hyper throw:HTTP GET invocation failed diff --git a/backend/files/misc/workflows/snippets/return-all-actions.hl b/backend/files/misc/workflows/snippets/return-all-actions.hl index 7099559879..1ebe1b1e3d 100644 --- a/backend/files/misc/workflows/snippets/return-all-actions.hl +++ b/backend/files/misc/workflows/snippets/return-all-actions.hl @@ -1,5 +1,5 @@ -// Returns the result of all actions at root +// Returns the result of all actions. for-each:x:../*/execute set-name:x:./0/-/*/* get-value:x:@.dp/# diff --git a/backend/files/misc/workflows/snippets/return-last-action.hl b/backend/files/misc/workflows/snippets/return-last-action.hl index 7a0d0ca67e..d07f3ab1d0 100644 --- a/backend/files/misc/workflows/snippets/return-last-action.hl +++ b/backend/files/misc/workflows/snippets/return-last-action.hl @@ -1,3 +1,3 @@ -// Returns the result of your last action +// Returns the result of your last action. return-nodes:x:@execute/*