From 310cb0abdb1b42dbd2f5997af17db79bea62d0fc Mon Sep 17 00:00:00 2001 From: Harsh Patel Date: Sat, 14 Oct 2023 19:47:36 +0530 Subject: [PATCH] chore: quick fix - add continue-on-error - updated the order --- .github/workflows/build.yml | 2 ++ src/api/project/project.service.ts | 4 ++-- src/prisma/prisma.service.ts | 7 +------ 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aa17a79..5b1442a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,9 +44,11 @@ jobs: - name: Prettier run: pnpm run format:check + continue-on-error: true - name: ESLint run: pnpm run lint + continue-on-error: true - name: Build run: pnpm run build diff --git a/src/api/project/project.service.ts b/src/api/project/project.service.ts index df8c27b..da39118 100644 --- a/src/api/project/project.service.ts +++ b/src/api/project/project.service.ts @@ -102,9 +102,9 @@ export class ProjectService { ) { console.log(slug, dto, file); - // TODO: Add Project Data from prisma - // this.prisma. // TODO: Upload Project Data to S3 // this.aws. + // TODO: Add Project Data from prisma + // this.prisma. } } diff --git a/src/prisma/prisma.service.ts b/src/prisma/prisma.service.ts index b7f5a5f..a80730d 100644 --- a/src/prisma/prisma.service.ts +++ b/src/prisma/prisma.service.ts @@ -166,11 +166,6 @@ export class PrismaService extends PrismaClient { } async AddProjectData(slug: string, dto: ProjectDataDto, url: string) { - const res = await this.project.create({ - data: { - - }, - select: {}, - }); + // TODO: Implement storing the data and link of s3 file } }