Reestablished working state

This commit is contained in:
Lyncoln
2026-10-10 19:18:06 -04:00
parent 8d91b8d716
commit feb8af703a
53 changed files with 170 additions and 84 deletions
+4
View File
@@ -13,6 +13,10 @@ outputs = {
"validTo": "validTo",
}
conversion = {
"hrs": "validTo // 60",
}
headers = {
"Authorization": {
"output": "access_token",
+1 -1
View File
@@ -44,4 +44,4 @@ savedata = [
"refresh_token",
]
savepath = "/home/david/tokens.json"
savepath = os.environ["TOKEN_STORE"]
+6 -2
View File
@@ -1,7 +1,10 @@
from . import getcsrf, login
import os
name = "Token refresh"
kind = "action"
showstatus = True
method = "GET"
@@ -15,7 +18,7 @@ headers = {
},
}
domainname="rentmasseur.com"
#domainname="rentmasseur.com"
cookies = {
"accessToken": {
@@ -36,7 +39,8 @@ savedata = [
"refresh_token",
]
savepath = "/home/david/tokens.json"
#savepath = "/rmmanager/tokens.json"
savepath = os.environ["TOKEN_STORE"]
outputs = {
"access_token": "accessToken",
+5
View File
@@ -45,3 +45,8 @@ outputs = {
prints = {
"Available until": "available_until"
}
recoverPolicy = {
KeyError:[False],
TypeError: [],
}
+3 -1
View File
@@ -10,7 +10,7 @@ actions = [
setavailable,
]
sleeptime = 10
#sleeptime = 10
skipstep = {
setavailable: {
@@ -21,3 +21,5 @@ skipstep = {
}
role = "activate"
sleeptime = 180