aboutsummaryrefslogtreecommitdiffstats
path: root/util/shred/FriendicaOAuth.sh
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-16 00:17:16 -0700
committerfriendica <info@friendica.com>2013-10-16 00:17:16 -0700
commita3b358d0256a8519744ab71cfb02fcb8f650a271 (patch)
tree09963837461f20110cea8517f0178979c795bb6a /util/shred/FriendicaOAuth.sh
parent9cb3a44177115e81a9a1923fd0e00386748a6582 (diff)
downloadvolse-hubzilla-a3b358d0256a8519744ab71cfb02fcb8f650a271.tar.gz
volse-hubzilla-a3b358d0256a8519744ab71cfb02fcb8f650a271.tar.bz2
volse-hubzilla-a3b358d0256a8519744ab71cfb02fcb8f650a271.zip
wrong app name
Diffstat (limited to 'util/shred/FriendicaOAuth.sh')
-rwxr-xr-xutil/shred/FriendicaOAuth.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/shred/FriendicaOAuth.sh b/util/shred/FriendicaOAuth.sh
index a20da7879..67f64b6eb 100755
--- a/util/shred/FriendicaOAuth.sh
+++ b/util/shred/FriendicaOAuth.sh
@@ -128,7 +128,7 @@ FO_statuses_update () {
$(OAuth_param 'status' "$2")
)
- params[${#params[@]}]=$(OAuth_param 'source' "fcli")
+ params[${#params[@]}]=$(OAuth_param 'source' "shred")
[[ "$3" != "" ]] && params[${#params[@]}]=$(OAuth_param 'in_reply_to_status_id' "$3") && local in_reply_to_status_id=( '--data-urlencode' "in_reply_to_status_id=$3" )
@@ -136,7 +136,7 @@ FO_statuses_update () {
local auth_header=$(OAuth_authorization_header 'Authorization' "$redmatrix_url" '' '' 'POST' "$F_STATUSES_UPDATE.$format" ${params[@]})
- FO_ret=$(curl -s -H "$auth_header" --data-urlencode "status=$2" --data-urlencode "source=fcli" ${in_reply_to_status_id[@]} "$F_STATUSES_UPDATE.$format")
+ FO_ret=$(curl -s -H "$auth_header" --data-urlencode "status=$2" --data-urlencode "source=shred" ${in_reply_to_status_id[@]} "$F_STATUSES_UPDATE.$format")
FO_rval=$?
return $FO_rval