Skip to content

Commit

Permalink
fix: use correct quote options on workflow (#222)
Browse files Browse the repository at this point in the history
fix: use correct quote options on worklow
  • Loading branch information
satish-ravi authored Aug 29, 2023
1 parent d3ce9aa commit 174ff79
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate-mock-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
CLIENT_API_KEY: ${{ secrets.MOCK_PROVIDER_API_KEY }}
PROVIDER_ID: ${{ secrets.MOCK_PROVIDER_ID }}
OPENAPI_SPEC: specification-swagger.yaml
QUOTE_OUT_MOCK: quoteOutNigeriaCUSD
QUOTE_OUT_MOCK: quoteNigeriaCUSD
FIAT_ACCOUNT_MOCK: accountNumberNigeria
KYC_MOCK: personalDataAndDocumentsNigeria
- uses: ravsamhq/notify-slack-action@v2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Setup a config file (remember to customize):
```
echo BASE_URL=https://some.api.fiatconnect.org > .env
echo OPENAPI_SPEC=/path/to/swagger.yaml >> .env
echo QUOTE_OUT_MOCK=quoteOutNigeriaCUSD
echo QUOTE_OUT_MOCK=quoteNigeriaCUSD
echo FIAT_ACCOUNT_MOCK=accountNumberNigeria
echo KYC_MOCK=personalDataAndDocumentsNigeria
```
Expand Down
4 changes: 2 additions & 2 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const config = yargs
description:
'Mock data to use for a transfer in quote that should be offered',
demandOption: false,
example: 'quoteInNigeriaCUSD',
example: 'quoteNigeriaCUSD',
choices: Object.keys(MOCK_QUOTE),
})
.option('ensure-user-init-transfer-in', {
Expand All @@ -62,7 +62,7 @@ export const config = yargs
description:
'Mock data to use for a transfer out quote that should be offered',
demandOption: false,
example: 'quoteOutNigeriaCUSD',
example: 'quoteNigeriaCUSD',
choices: Object.keys(MOCK_QUOTE),
})
.option('fiat-account-mock', {
Expand Down

0 comments on commit 174ff79

Please sign in to comment.