Skip to content

Commit

Permalink
comment out get conflict business info from BCROS (#1550)
Browse files Browse the repository at this point in the history
  • Loading branch information
eve-git authored Nov 19, 2024
1 parent f29d5c3 commit 982429c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/store/examine/conflict-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import { getBusiness, getCorporation, getNameRequest } from '~/util/namex-api'

export const useConflictData = defineStore('conflict-data', () => {
async function getCorpConflict(corpNum: string): Promise<Corporation> {
// search for businsess in BCRS
const businessResponse = await getBusiness(corpNum)
if (businessResponse.ok) return businessResponse.json()
// Currently, the corp number is in the Colin format, so there's no need to search in BCROS.
//const businessResponse = await getBusiness(corpNum)
//if (businessResponse.ok) return businessResponse.json()

// search for business in COLIN
const response = await getCorporation(corpNum)
Expand Down

0 comments on commit 982429c

Please sign in to comment.