From ed24c79395f3c2e9239c211a3e9ac189c77df42a Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 14 Feb 2019 20:36:48 +0000 Subject: [PATCH] add todoist to healthcheck --- actioner/web/healthcheck.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/actioner/web/healthcheck.py b/actioner/web/healthcheck.py index bfdda55..119af8d 100644 --- a/actioner/web/healthcheck.py +++ b/actioner/web/healthcheck.py @@ -1,9 +1,11 @@ from aiohttp import web -from actioner.clients import github +from actioner.clients import github, todoist async def healthcheck(request): + todoist.user.sync() return web.json_response({ - 'github': github.get_user().login + 'github': github.get_user().login, + 'todoist': todoist.user.get_id() })