desired_state column to be updated when the user starts/stops vm

This commit is contained in:
2021-12-17 17:38:28 -06:00
parent 75b5b82c28
commit 5637da73ec
3 changed files with 10 additions and 8 deletions

View File

@ -5,7 +5,8 @@ import json
import re
class Client:
def __init__(self, api_uri="https://bitpay.com", insecure=False, pem=key_utils.generate_pem(), tokens={}):
# this api_url used to default to bitpay.com, I changed it because why not ;P
def __init__(self, api_uri="https://btcpay.cyberia.club", insecure=False, pem=key_utils.generate_pem(), tokens={}):
self.uri = api_uri
self.verify = not(insecure)
self.pem = pem