From b9d5746723ed7d4f3405bb28f2bee347584e31ba Mon Sep 17 00:00:00 2001 From: Stone Liu Date: Fri, 24 Jan 2025 19:50:38 -0500 Subject: [PATCH] Format --- backend/src/entities/groups/transaction.ts | 1 - backend/src/tests/helpers/test-builder.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/backend/src/entities/groups/transaction.ts b/backend/src/entities/groups/transaction.ts index d9dd63b6..c5f5647f 100644 --- a/backend/src/entities/groups/transaction.ts +++ b/backend/src/entities/groups/transaction.ts @@ -14,7 +14,6 @@ import { ForbiddenError, NotFoundError } from "../../utilities/errors/app-error" import { and, eq, sql, desc, between } from "drizzle-orm"; import { Media, PostWithMedia } from "../posts/validator"; - export interface GroupTransaction { insertGroup(payload: CreateGroupPayload): Promise; deleteGroup(groupId: string, userId: string): Promise; diff --git a/backend/src/tests/helpers/test-builder.ts b/backend/src/tests/helpers/test-builder.ts index 2f11988c..2aaf80e0 100644 --- a/backend/src/tests/helpers/test-builder.ts +++ b/backend/src/tests/helpers/test-builder.ts @@ -97,7 +97,6 @@ export class TestBuilder { return resultHeaders; } - getResponseBodyKey(key: string): unknown { if (this.type === HTTPRequest.DELETE) { throw new Error("Cannot retrieve id from DELETE request");