Skip to content
Snippets Groups Projects
Commit 549092d9 authored by syuilo's avatar syuilo
Browse files

Update gen-token.ts

parent b245393b
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment