Skip to content

Commit

Permalink
Testing command to refresh google calendar token
Browse files Browse the repository at this point in the history
  • Loading branch information
thejeffreystone committed Nov 28, 2020
1 parent c4b5d6c commit 70d1061
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/configuration.yaml
Expand Up @@ -294,3 +294,4 @@ shell_command:
grocy_consume_item: "curl -k -X POST https://{{server_ip}}:9192/api/stock/products/{{product_id}}/consume -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'GROCY-API-KEY: {{grocy_key}}' -H 'cache-control: no-cache' -d '{ \"amount\": {{amount}}, \"transaction_type\": \"consume\", \"spoiled\": false }'"
grocy_chore_complete: "curl -k -X POST https://{{server_ip}}:9192/api/chores/{{chore_id}}/execute -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'GROCY-API-KEY: {{grocy_key}}' -H 'cache-control: no-cache' -d '{ \"tracked_time\": {{timestamp}}, \"done_by\": {{user}} }'"
grocy_add_item: "curl -k -X POST https://{{server_ip}}:9192/api/stock/products/{{product_id}}/add -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'GROCY-API-KEY: {{grocy_key}}' -H 'cache-control: no-cache' -d '{ \"amount\": {{amount}}, \"best_before_date\": {{best_before_date}}, \"transaction_type\": \"purchase\", \"price\": {{price}} }'"
google_token: sed -i -e 's/2client.client"}2client.client"}/2client.client"}/g' /config/.google.token

0 comments on commit 70d1061

Please sign in to comment.