mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-20 23:25:28 +02:00
feat: トークン手動発行機能
This commit is contained in:
@@ -78,7 +78,7 @@ router.post('/miauth/:session/check', async ctx => {
|
||||
session: ctx.params.session
|
||||
});
|
||||
|
||||
if (token && !token.fetched) {
|
||||
if (token && token.session != null && !token.fetched) {
|
||||
AccessTokens.update(token.id, {
|
||||
fetched: true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user