diff --git a/apps/server/src/core/attachment/dto/avatar-upload.dto.ts b/apps/server/src/core/attachment/dto/avatar-upload.dto.ts index 40f3609..c419946 100644 --- a/apps/server/src/core/attachment/dto/avatar-upload.dto.ts +++ b/apps/server/src/core/attachment/dto/avatar-upload.dto.ts @@ -1,5 +1,3 @@ import { IsOptional, IsString, IsUUID } from 'class-validator'; -export class AvatarUploadDto { - -} +export class AvatarUploadDto {} diff --git a/apps/server/src/core/auth/dto/create-user.dto.ts b/apps/server/src/core/auth/dto/create-user.dto.ts index 0cd477e..0fc3b41 100644 --- a/apps/server/src/core/auth/dto/create-user.dto.ts +++ b/apps/server/src/core/auth/dto/create-user.dto.ts @@ -2,7 +2,8 @@ import { IsEmail, IsNotEmpty, IsOptional, - IsString, MaxLength, + IsString, + MaxLength, MinLength, } from 'class-validator'; diff --git a/apps/server/src/core/auth/services/auth.service.ts b/apps/server/src/core/auth/services/auth.service.ts index 8d9b61c..789f894 100644 --- a/apps/server/src/core/auth/services/auth.service.ts +++ b/apps/server/src/core/auth/services/auth.service.ts @@ -51,7 +51,8 @@ export class AuthService { } async setup(createAdminUserDto: CreateAdminUserDto) { - const user: User = await this.signupService.initialSetup(createAdminUserDto); + const user: User = + await this.signupService.initialSetup(createAdminUserDto); const tokens: TokensDto = await this.tokenService.generateTokens(user); diff --git a/apps/server/src/core/page/services/page-history.service.ts b/apps/server/src/core/page/services/page-history.service.ts index 193bf68..bad9157 100644 --- a/apps/server/src/core/page/services/page-history.service.ts +++ b/apps/server/src/core/page/services/page-history.service.ts @@ -5,8 +5,7 @@ import { PageHistoryRepository } from '../repositories/page-history.repository'; @Injectable() export class PageHistoryService { - constructor(private pageHistoryRepo: PageHistoryRepository) { - } + constructor(private pageHistoryRepo: PageHistoryRepository) {} async findOne(historyId: string): Promise { const history = await this.pageHistoryRepo.findById(historyId);