chore: object shorthand linting rule (#12152)

chore: object shorthand
This commit is contained in:
Jason Rasmussen 2024-08-30 14:38:53 -04:00 committed by GitHub
parent 40854f358c
commit 5e6ac87eaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 30 additions and 28 deletions

View file

@ -421,7 +421,7 @@ export class AuthService {
await this.sessionRepository.update({ id: session.id, updatedAt: new Date() });
}
return { user: session.user, session: session };
return { user: session.user, session };
}
throw new UnauthorizedException('Invalid user token');