mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-13 09:10:47 +01:00
Update gen-token.ts
This commit is contained in:
parent
b245393bc4
commit
549092d9aa
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue