WIP: config file support

This commit is contained in:
3wc
2024-12-06 21:30:34 -05:00
parent 48905953ca
commit 4fcf972e17
6 changed files with 77 additions and 29 deletions

View File

@ -12,8 +12,8 @@ from .db import (
)
def sync() -> None:
api = KimaiAPI()
def sync(username, api_key) -> None:
api = KimaiAPI(username, api_key)
KimaiCustomer.delete().execute()
KimaiProject.delete().execute()