v1 server and lifecycle manager working. execution contract added
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import os
|
||||
|
||||
name = "Unset Availability"
|
||||
|
||||
kind = "action"
|
||||
|
||||
availabletime = int(os.environ.get("AVAILABLE_DURATION",3))
|
||||
|
||||
duration = availabletime - 5
|
||||
|
||||
|
||||
|
||||
keys = [
|
||||
{
|
||||
"keytitle": "online",
|
||||
"keyvalue": 0,
|
||||
},
|
||||
]
|
||||
|
||||
method = "PUT"
|
||||
|
||||
path = "https://rentmasseur.com/api/v1/account/dashboard/availability"
|
||||
|
||||
#headers = "Authorization:" f"Bearer {access_token}"
|
||||
Reference in New Issue
Block a user