Working config loading from TOML, env var, cli args
This commit is contained in:
@ -12,9 +12,7 @@ from .db import (
|
||||
)
|
||||
|
||||
|
||||
def sync(username, api_key) -> None:
|
||||
api = KimaiAPI(username, api_key)
|
||||
|
||||
def sync(api) -> None:
|
||||
KimaiCustomer.delete().execute()
|
||||
KimaiProject.delete().execute()
|
||||
KimaiActivity.delete().execute()
|
||||
|
Reference in New Issue
Block a user