From 658e8fad3bc858d65773da2faa7251ec935f15ec Mon Sep 17 00:00:00 2001 From: sburchfield33 Date: Sun, 10 Mar 2024 13:19:56 -0400 Subject: [PATCH] responded to comments from nick --- .github/workflows/prettier.yml | 2 +- src/app/api/file/route.client.ts | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index e4d3f017..65f98fa0 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -24,5 +24,5 @@ jobs: - name: Prettify code uses: creyD/prettier_action@v4.3 with: - prettier_options: "--write **/*.tsx" + prettier_options: "--write **/*.tsx **/*.tsx **/*.mjs" prettier_version: '2.x.x' diff --git a/src/app/api/file/route.client.ts b/src/app/api/file/route.client.ts index ae7aa8ad..85c983e3 100644 --- a/src/app/api/file/route.client.ts +++ b/src/app/api/file/route.client.ts @@ -11,11 +11,6 @@ type IFile = z.infer; * Extends the parameters of fetch() function to give types to the RequestBody. */ interface IRequest extends Omit { - - - - - body: IFile; }