description |
---|
Whitelisting currencies to be used in the platform by hosts. |
- In the API
- Update
server/graphql/v2/enum/Currency.js
adding the currency code to the array in thepick
function we have inCurrency
enum type.
- Update
- In the Frontend
- Update
lib/constants/currency.js
to include the currency code. - Run
npm run graphql:update
.
- Update
- In our documentation:
- Update the revenue query in Analytics to include the new currency with an up-to-date exchange rate.
- Update all exchange rates if they're outdated.