Skip to content

Commit

Permalink
fix small
Browse files Browse the repository at this point in the history
  • Loading branch information
kzdev420 committed Oct 25, 2023
1 parent 809fda0 commit 2a0a582
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/legal-services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default class LegalServices {
static async fetchNameRequest (nrNumber: string): Promise<NameRequestIF> {
if (!nrNumber) throw new Error('Invalid parameter \'nrNumber\'')

let url = `nameRequests/${nrNumber}`
const url = `nameRequests/${nrNumber}`
return axios.get(url)
.then(response => {
const data = response?.data
Expand All @@ -143,7 +143,7 @@ export default class LegalServices {
static async fetchValidContactNr (nrNumber: string, phone?: string, email?: string): Promise<NameRequestIF> {
if (!nrNumber) throw new Error('Invalid parameter \'nrNumber\'')

let url = `nameRequests/${nrNumber}/validate?phone=${phone}&email=${email}`
const url = `nameRequests/${nrNumber}/validate?phone=${phone}&email=${email}`
return axios.get(url)
.then(response => {
const data = response?.data
Expand Down

0 comments on commit 2a0a582

Please sign in to comment.