From c5b9949602a0fd8e9021350c8c5a3094187b681f Mon Sep 17 00:00:00 2001 From: eve-git Date: Fri, 8 Nov 2024 09:25:47 -0800 Subject: [PATCH] bug fix --- app/components/examine/recipe/match/index.vue | 2 +- app/store/examine/conflict-data.ts | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/components/examine/recipe/match/index.vue b/app/components/examine/recipe/match/index.vue index 2b644505..287697d4 100644 --- a/app/components/examine/recipe/match/index.vue +++ b/app/components/examine/recipe/match/index.vue @@ -4,7 +4,7 @@
{ async function getCorpConflict(corpNum: string): Promise { + // search for businsess in BCRS + const businessResponse = await getBusiness(corpNum) + if (businessResponse.ok) return businessResponse.json() + + // search for business in COLIN const response = await getCorporation(corpNum) return response.json() }