Skip to content

Commit

Permalink
18625 Fix validate nr func (#584)
Browse files Browse the repository at this point in the history
* fix validate nr func

* update version
  • Loading branch information
kzdev420 authored Nov 22, 2023
1 parent 4300e06 commit 5e99b37
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "business-create-ui",
"version": "5.6.2",
"version": "5.6.3",
"private": true,
"appName": "Create UI",
"sbcName": "SBC Common Components",
Expand Down
3 changes: 2 additions & 1 deletion src/components/Restoration/BusinessName.vue
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,12 @@ export default class BusinessName extends Mixins(CommonMixin, DateMixin, NameReq
/**
* Fetches and validation a NR.
* @param nrNum the NR number
* @param businessId the business id
* @param phone the phone number to match
* @param email the email address to match
* @returns a promise to return the NR, or throws a printable error
*/
async fetchAndValidateNr (nrNum: string, phone: string, email: string): Promise<NameRequestIF> {
async fetchAndValidateNr (nrNum: string, businessId: string, phone: string, email: string): Promise<NameRequestIF> {
const nameRequest = await LegalServices.fetchValidContactNr(nrNum, phone, email)
if (!nameRequest) throw new Error('Error fetching Name Request')
Expand Down

0 comments on commit 5e99b37

Please sign in to comment.