From ccaa0d49f8233bb5c891e9d6eb7d7f7ef3e005f5 Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev <572431+veikab@users.noreply.github.com> Date: Wed, 21 Jan 2026 09:40:42 +0700 Subject: [PATCH] =?UTF-8?q?Update=20GraphQL=20queries:=20companyTeaserByPr?= =?UTF-8?q?ofile=20=E2=86=92=20kycProfileTeaser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/SupplierInfoBlock.vue | 2 +- graphql/operations/public/kyc/GetKycProfileFull.graphql | 2 +- graphql/operations/public/kyc/GetKycProfileTeaser.graphql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/SupplierInfoBlock.vue b/app/components/SupplierInfoBlock.vue index 8489e4d..696b2f6 100644 --- a/app/components/SupplierInfoBlock.vue +++ b/app/components/SupplierInfoBlock.vue @@ -44,7 +44,7 @@ const loadCompanyData = async () => { 'public', 'kyc' ) - companyData.value = data?.companyTeaserByProfile || null + companyData.value = data?.kycProfileTeaser || null } catch (error) { console.error('Error loading company data:', error) } finally { diff --git a/graphql/operations/public/kyc/GetKycProfileFull.graphql b/graphql/operations/public/kyc/GetKycProfileFull.graphql index fa2b9c5..ff8cc3f 100644 --- a/graphql/operations/public/kyc/GetKycProfileFull.graphql +++ b/graphql/operations/public/kyc/GetKycProfileFull.graphql @@ -1,5 +1,5 @@ query GetKycProfileFull($profileUuid: String!) { - companyFullByProfile(profileUuid: $profileUuid) { + kycProfileFull(profileUuid: $profileUuid) { inn ogrn name diff --git a/graphql/operations/public/kyc/GetKycProfileTeaser.graphql b/graphql/operations/public/kyc/GetKycProfileTeaser.graphql index 4897199..d2088fc 100644 --- a/graphql/operations/public/kyc/GetKycProfileTeaser.graphql +++ b/graphql/operations/public/kyc/GetKycProfileTeaser.graphql @@ -1,5 +1,5 @@ query GetKycProfileTeaser($profileUuid: String!) { - companyTeaserByProfile(profileUuid: $profileUuid) { + kycProfileTeaser(profileUuid: $profileUuid) { companyType registrationYear isActive