add todoist to healthcheck
This commit is contained in:
parent
6d29fb1fe8
commit
ed24c79395
1 changed files with 4 additions and 2 deletions
|
@ -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()
|
||||
})
|
||||
|
|
Reference in a new issue