chore: Added currency fee types (fiat currency or cryptocurrency) to module.exports
This commit is contained in:
parent
85c8e69ee4
commit
e7c2701d52
2 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@ const { truncate_number } = require('../utils/truncate_number.js');
|
||||||
module.exports = {
|
module.exports = {
|
||||||
info: {
|
info: {
|
||||||
name: 'CoinMarketCap',
|
name: 'CoinMarketCap',
|
||||||
|
type: 'crypto'
|
||||||
},
|
},
|
||||||
parseCurrencies: async () => {
|
parseCurrencies: async () => {
|
||||||
const promises = config['currency']['crypto'].map(fromCurrency => {
|
const promises = config['currency']['crypto'].map(fromCurrency => {
|
||||||
|
|
|
@ -5,6 +5,7 @@ const { truncate_number } = require('../utils/truncate_number.js');
|
||||||
module.exports = {
|
module.exports = {
|
||||||
info: {
|
info: {
|
||||||
name: 'DuckDuckGo',
|
name: 'DuckDuckGo',
|
||||||
|
type: 'fiat'
|
||||||
},
|
},
|
||||||
parseCurrencies: async () => {
|
parseCurrencies: async () => {
|
||||||
const promises = config['currency']['fiat'].map(fromCurrency => {
|
const promises = config['currency']['fiat'].map(fromCurrency => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue