add todoist to healthcheck

This commit is contained in:
Jake Howard 2019-02-14 20:36:48 +00:00
parent 6d29fb1fe8
commit ed24c79395
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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()
})