Skip to content

Commit

Permalink
feat(referral): remove api key from request
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLeoB committed Jan 30, 2024
1 parent 1981859 commit 02eb5f9
Showing 1 changed file with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,15 @@ const SofiReferralComponent: React.FC = () => {
const aesIV = getQueryParamCaseInsensitive(url, 'aesIV') as string
const aesTag = getQueryParamCaseInsensitive(url, 'aesTag') as string
const aesKeyCiphertext = getQueryParamCaseInsensitive(url, 'aesKeyCipherText') as string
const response = await axios.get(
`${api}/nabu-gateway/sofi/user-migration-status?api_code=1770d5d9-bcea-4d28-ad21-6cbd5be018a8`,
{
headers: {
'Content-Type': 'application/json',
'X-SoFi-AES-IV': aesIV,
'X-SoFi-AES-Key-Ciphertext': aesKeyCiphertext,
'X-SoFi-AES-Tag': aesTag,
'X-SoFi-JWT-AES-Ciphertext': aesCiphertext
}
const response = await axios.get(`${api}/nabu-gateway/sofi/user-migration-status`, {
headers: {
'Content-Type': 'application/json',
'X-SoFi-AES-IV': aesIV,
'X-SoFi-AES-Key-Ciphertext': aesKeyCiphertext,
'X-SoFi-AES-Tag': aesTag,
'X-SoFi-JWT-AES-Ciphertext': aesCiphertext
}
)
})
migrationStatus = response.data.migrationStatus
}

Expand Down

2 comments on commit 02eb5f9

@abass133
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

چطورمیتوانم داری خودم راجمع کنم

@abass133
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

من داری،دارم

Please sign in to comment.