chore: rename project to liqa and fix code quality issues
- rename package names from liquio-qa-bot to liqa/liqa-client/liqa-server - replace QA Bot text with liqa.svg logo image in sidebar header - add favicon.svg (liqa-mini.svg) and page title update - fix DescriptionList extractText generic type for TS strict props access - configure server eslint to allow underscore-prefixed unused vars - fix session.controller unused destructured vars (_cookies, _localStorage) - update server package.json version import path after server rename - fix session DELETE test assertion from 200 to 204
This commit is contained in:
@@ -41,7 +41,12 @@ export class SessionController {
|
||||
async findOne(@Param("id", ParseIntPipe) id: number) {
|
||||
const session = await this.sessionService.findById(id);
|
||||
if (!session) throw new NotFoundException(`Session ${id} not found`);
|
||||
const { token, cookies, localStorage, ...rest } = session;
|
||||
const {
|
||||
token,
|
||||
cookies: _cookies,
|
||||
localStorage: _localStorage,
|
||||
...rest
|
||||
} = session;
|
||||
return {
|
||||
...rest,
|
||||
token: maskToken(token),
|
||||
|
||||
Reference in New Issue
Block a user