Skip to content

Commit f25a087

Browse files
authored
fix: Currency units as array
1 parent 37913de commit f25a087

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

payloads/v0/currencies.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export interface APICryptoCurrency {
4242
feeUnit: string;
4343
format: {
4444
scale: number;
45-
units: APICryptoCurrencyUnit;
45+
units: APICryptoCurrencyUnit[];
4646
};
4747
options: {
4848
extras?: string;
@@ -55,6 +55,6 @@ export interface APIFiatCurrency {
5555
name: string;
5656
format: {
5757
scale: number;
58-
units: APIFiatCurrencyUnit;
58+
units: APIFiatCurrencyUnit[];
5959
};
6060
}

0 commit comments

Comments
 (0)