This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
|
from starlette.responses import JSONResponse
|
|
|
|
from actioner.clients import get_todoist_client, github
|
|
|
|
|
|
async def healthcheck(request):
|
|
todoist = get_todoist_client()
|
|
todoist.user.sync()
|
|
return JSONResponse(
|
|
{"github": github.get_user().login, "todoist": todoist.user.get_id()}
|
|
)
|