fix: remove extra code

This commit is contained in:
abdou6666 2024-11-27 19:30:12 +01:00
parent f2b8e63e94
commit 6b7b1c9afc

View File

@ -608,8 +608,4 @@ export class BlockService extends BaseService<Block, BlockPopulate, BlockFull> {
throw new Error('Invalid message format.'); throw new Error('Invalid message format.');
} }
} }
getCategoryBlocks(categoryId: string) {
return this.repository.model.find({ category: categoryId });
}
} }