From 1e52f338f92617912fdca6935eb5ec66119d1db0 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Mon, 17 Mar 2025 10:51:40 +0100 Subject: [PATCH] Tapi --- misc/api.func | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/api.func b/misc/api.func index 52fdb9a..92e7bc3 100644 --- a/misc/api.func +++ b/misc/api.func @@ -4,6 +4,7 @@ post_to_api() { + echo -e "Posting to API..." if ! command -v curl &> /dev/null; then return fi @@ -42,6 +43,7 @@ EOF -H "Content-Type: application/json" \ -d "$JSON_PAYLOAD") || true } +echo -e "Posting to API... " get_error_description() { local exit_code="$1"