|
@ -191,12 +191,7 @@ export class ExchangeRateDataService { |
|
|
await this.prismaService.symbolProfile.findMany({ |
|
|
await this.prismaService.symbolProfile.findMany({ |
|
|
distinct: ['currency'], |
|
|
distinct: ['currency'], |
|
|
orderBy: [{ currency: 'asc' }], |
|
|
orderBy: [{ currency: 'asc' }], |
|
|
select: { currency: true }, |
|
|
select: { currency: true } |
|
|
where: { |
|
|
|
|
|
currency: { |
|
|
|
|
|
not: null |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
}) |
|
|
).forEach((symbolProfile) => { |
|
|
).forEach((symbolProfile) => { |
|
|
currencies.push(symbolProfile.currency); |
|
|
currencies.push(symbolProfile.currency); |
|
|