Allow coinmarketcap slugs

This commit is contained in:
shamoon 2023-07-13 21:39:45 -07:00
parent 276edb2069
commit 1e60553904
4 changed files with 40 additions and 19 deletions

View file

@ -7,7 +7,8 @@ const widget = {
mappings: {
"v1/cryptocurrency/quotes/latest": {
endpoint: "v1/cryptocurrency/quotes/latest",
params: ["symbol", "convert"],
params: ["convert"],
optionalParams: ["symbol", "slug"],
},
},
};