fixed some lint issues
This commit is contained in:
parent
566f5dac92
commit
969cbad7ac
14 changed files with 99 additions and 29 deletions
|
|
@ -4,10 +4,17 @@ import type { JobPayload } from '../../../types/job-payloads';
|
|||
|
||||
const logger = getLogger('enhanced-sync-exchange-stats');
|
||||
|
||||
interface ExchangeStats {
|
||||
total_exchanges: string;
|
||||
active_exchanges: string;
|
||||
countries: string;
|
||||
currencies: string;
|
||||
}
|
||||
|
||||
export async function getExchangeStats(
|
||||
payload: JobPayload,
|
||||
container: IServiceContainer
|
||||
): Promise<any> {
|
||||
): Promise<ExchangeStats> {
|
||||
logger.info('Getting exchange statistics...');
|
||||
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue