revert un-needed refactor

This commit is contained in:
Hazelnoot 2025-06-22 15:40:38 -04:00
parent f9a82fc424
commit 3747708eb5

View file

@ -99,11 +99,10 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
const accessToken = secureRndstr(32);
const now = new Date();
const accessTokenId = this.idService.gen(now.getTime());
// Insert access token doc
await this.accessTokensRepository.insert({
id: accessTokenId,
id: this.idService.gen(now.getTime()),
lastUsedAt: now,
session: ps.session,
userId: me.id,