This commit is contained in:
Tom Moor
2018-11-11 21:17:03 -08:00
parent c81135c09e
commit 61138ff4fa
7 changed files with 9 additions and 12 deletions

View File

@ -32,8 +32,6 @@ router.get('/redirect', auth(), async ctx => {
});
const team = await Team.findById(user.teamId);
console.log(`redirecting: ${team.url}/dashboard`);
ctx.redirect(`${team.url}/dashboard`);
});