From 7b6c6d6e2cdaec5e6b95e80eec01ace3ce04d53c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A2=D0=B8=D0=BC=D1=83=D1=80=20=D0=A5=D0=B0=D0=B1=D0=B8?= =?UTF-8?q?=D0=B1=D0=BE=D0=B2?= Date: Sat, 29 Apr 2023 15:26:08 +0500 Subject: [PATCH] fix linting last one --- backend/src/snippets/utils/generate-uniq-slug.ts | 2 +- backend/src/users/dto/create-user.dto.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/src/snippets/utils/generate-uniq-slug.ts b/backend/src/snippets/utils/generate-uniq-slug.ts index 30439f8d..534b385c 100644 --- a/backend/src/snippets/utils/generate-uniq-slug.ts +++ b/backend/src/snippets/utils/generate-uniq-slug.ts @@ -1,5 +1,5 @@ import { faker } from "@faker-js/faker"; -import { Snippets } from "src/entities/snippet.entity"; +import { Snippets } from "../../entities/snippet.entity"; export const generateUniqSlug = (snippets: Snippets[]): string => { const slug = faker.random.alpha({ count: 7, casing: 'mixed' }); diff --git a/backend/src/users/dto/create-user.dto.ts b/backend/src/users/dto/create-user.dto.ts index 40281568..fab2192c 100644 --- a/backend/src/users/dto/create-user.dto.ts +++ b/backend/src/users/dto/create-user.dto.ts @@ -1,6 +1,5 @@ import { IsEmail, - IsNotEmpty, IsString, Length, Matches,