add config module
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-05-17 17:01:50 +03:30
parent 8ba80f86de
commit 2d34fb68e7
12 changed files with 5773 additions and 3 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ export class ShopService {
}
async findBySlug(slug: string): Promise<Shop> {
const shop = await this.em.findOne(Shop, { slug });
const shop = await this.em.findOne(Shop, { slug }, { populate: ['configs'] });
if (!shop) {
throw new NotFoundException(ShopMessage.NOT_FOUND);