archive
/
actioner
Archived
1
Fork 0

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
1 changed files with 4 additions and 2 deletions

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