mirror of
https://github.com/hexastack/hexabot
synced 2024-12-02 00:54:56 +00:00
fix: remove extra code
This commit is contained in:
parent
f2b8e63e94
commit
6b7b1c9afc
@ -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 });
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user