From 6b7b1c9afce877f3a0729dc2f1ba0f3c4bd8cbea Mon Sep 17 00:00:00 2001 From: abdou6666 Date: Wed, 27 Nov 2024 19:30:12 +0100 Subject: [PATCH] fix: remove extra code --- api/src/chat/services/block.service.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/api/src/chat/services/block.service.ts b/api/src/chat/services/block.service.ts index 3f048b4..5251c93 100644 --- a/api/src/chat/services/block.service.ts +++ b/api/src/chat/services/block.service.ts @@ -608,8 +608,4 @@ export class BlockService extends BaseService { throw new Error('Invalid message format.'); } } - - getCategoryBlocks(categoryId: string) { - return this.repository.model.find({ category: categoryId }); - } }