ログのアレを直したりとか
This commit is contained in:
parent
9b55163f1c
commit
139d7cc699
4 changed files with 4 additions and 10 deletions
|
@ -59,7 +59,6 @@ router.get('/', async ctx => {
|
|||
const user = token ? await getUserByMisshaiToken(token) : undefined;
|
||||
|
||||
const isAvailable = user && await apiAvailable(user.host, user.token);
|
||||
console.log(isAvailable);
|
||||
if (user && isAvailable) {
|
||||
await ctx.render('mypage', {
|
||||
user,
|
||||
|
@ -176,8 +175,6 @@ router.get('/legacy-auth', async ctx => {
|
|||
return;
|
||||
}
|
||||
|
||||
console.log(host);
|
||||
|
||||
const { accessToken, user } = await api<{ accessToken: string, user: Record<string, unknown> }>(host, 'auth/session/userkey', {
|
||||
appSecret, token,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue