1
0
mirror of https://github.com/MisskeyIO/misskey synced 2025-01-18 07:43:44 +09:00

Update gen-token.ts

This commit is contained in:
syuilo 2020-03-28 19:44:57 +09:00
parent b245393bc4
commit 549092d9aa

View File

@ -42,6 +42,7 @@ export default define(meta, async (ps, user) => {
await AccessTokens.save({
id: genId(),
createdAt: new Date(),
lastUsedAt: new Date(),
session: ps.session,
userId: user.id,
token: accessToken,