[update] - License

This commit is contained in:
Swapnil
2024-12-18 23:09:34 +05:30
parent 8eee93c6a7
commit e93682bb31
2 changed files with 23 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ export class ProductRepository implements IProductRepository {
});
}
// Find by ID Product
async findById(id: number): Promise<Product> {
return await this.productRepository.findOneOrFail({ where: { id } });
}