From 0ec15d12c5785cc8c974ce1a3a341fc883010178 Mon Sep 17 00:00:00 2001 From: dogi Date: Mon, 26 Oct 2020 16:04:15 -0400 Subject: [PATCH 1/2] Update message.sh --- modules/message.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/message.sh b/modules/message.sh index 50d37bc87..b1c551d73 100644 --- a/modules/message.sh +++ b/modules/message.sh @@ -11,7 +11,7 @@ function message { } function get_apitoken { channelname=$1 - access_token=$(config | grep "$channelname" | cut -d "=" -f2) + access_token=$(config | grep "$channelname" | grep "token" | cut -d "=" -f2) echo "Your API access token is $access_token" return 0 } @@ -221,7 +221,7 @@ function message { get_apitoken slack elif [[ $3 != "" ]]; then echo "your apitoken is $3" - conf_var_update "slacktoken" "$3" + conf_var_update "slack_apitoken" "$3" else echo "You do not have an authorized access token for slack" eche "" From 2ba110e7bbe7277fbea5d088249230fa662b3f44 Mon Sep 17 00:00:00 2001 From: dogi Date: Wed, 28 Oct 2020 22:42:13 -0400 Subject: [PATCH 2/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 409bbda49..62b52cd4e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@treehouses/cli", - "version": "1.24.80", + "version": "1.24.81", "remote": "4000", "description": "Thin command-line interface for Raspberry Pi low level configuration.", "main": "cli.sh",