mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-13 08:12:32 +10:00
lint
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
import { IsOptional, IsString, IsUUID } from 'class-validator';
|
||||
|
||||
export class AvatarUploadDto {
|
||||
|
||||
}
|
||||
export class AvatarUploadDto {}
|
||||
|
||||
@ -2,7 +2,8 @@ import {
|
||||
IsEmail,
|
||||
IsNotEmpty,
|
||||
IsOptional,
|
||||
IsString, MaxLength,
|
||||
IsString,
|
||||
MaxLength,
|
||||
MinLength,
|
||||
} from 'class-validator';
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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<PageHistory> {
|
||||
const history = await this.pageHistoryRepo.findById(historyId);
|
||||
|
||||
Reference in New Issue
Block a user