Compare commits
2 Commits
87b522486f
...
1a32fb8c3f
| Author | SHA1 | Date |
|---|---|---|
|
|
1a32fb8c3f | |
|
|
38def770f9 |
|
|
@ -9,6 +9,7 @@ alias yd="yadm diff"
|
||||||
alias ys="yadm status"
|
alias ys="yadm status"
|
||||||
alias yup="yadm pull --rebase"
|
alias yup="yadm pull --rebase"
|
||||||
alias yp="yadm push"
|
alias yp="yadm push"
|
||||||
|
alias sa="ssh-add"
|
||||||
alias todo="vi ~/Nextcloud/TODO/todo.txt"
|
alias todo="vi ~/Nextcloud/TODO/todo.txt"
|
||||||
alias sysup="sudo apt update && sudo apt upgrade -y"
|
alias sysup="sudo apt update && sudo apt upgrade -y"
|
||||||
alias g="./gradlew"
|
alias g="./gradlew"
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,8 @@ if [ -n "$SCOPE" ]; then
|
||||||
REQUEST_BODY="${REQUEST_BODY}&scope=${SCOPE// /%20}"
|
REQUEST_BODY="${REQUEST_BODY}&scope=${SCOPE// /%20}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "curl -s -X POST $TOKEN_URL -H Content-Type: application/x-www-form-urlencoded -d $REQUEST_BODY"
|
||||||
|
|
||||||
# Get the OAuth2 token
|
# Get the OAuth2 token
|
||||||
response=$(curl -s -X POST "$TOKEN_URL" \
|
response=$(curl -s -X POST "$TOKEN_URL" \
|
||||||
-H "Content-Type: application/x-www-form-urlencoded" \
|
-H "Content-Type: application/x-www-form-urlencoded" \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue