Update modules/cfd1.py
All checks were successful
/ check (push) Successful in 10s

This commit is contained in:
Nova Cat 2025-01-25 18:46:45 -08:00
parent 1c619acfe1
commit 375aae29d1

View file

@ -4,7 +4,7 @@ from cloudflare import Cloudflare
__ircat_type__ = "sql.provider" # The type of module
__ircat_requires__ = ["cf_accountid", "cf_apitoken", "cf_d1database", "fernet-key"] # The required config.yml entries.
class broker:
def __init__(self, cf_accountid:str, cf_apitoken:str, cf_d1database:str):
def __init__(self, cf_accountid:str, cf_apitoken:str, cf_d1database:str, fernet_key:str):
self.account_id = cf_accountid
self.api_token = cf_apitoken
self.database = cf_d1database