File tree Expand file tree Collapse file tree 4 files changed +398
-45
lines changed
Expand file tree Collapse file tree 4 files changed +398
-45
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { logger } from 'nb-logger';
22
33import sentry from '#libs/sentry' ;
44import { refreshFTMeta , syncFTMeta } from '#services/fts/meta' ;
5- // import { refreshMTMeta, syncMTMeta, syncMTTokenMeta } from '#services/mts/meta';
5+ import { syncMTMeta , syncMTTokenMeta } from '#services/mts/meta' ;
66import {
77 refreshNFTMeta ,
88 syncNFTMeta ,
@@ -14,12 +14,11 @@ export const task = async () => {
1414 logger . info ( 'tokenMeta: job started' ) ;
1515 await Promise . all ( [
1616 syncFTMeta ( ) ,
17- // syncMTMeta(),
18- // syncMTTokenMeta(),
17+ syncMTMeta ( ) ,
18+ syncMTTokenMeta ( ) ,
1919 syncNFTMeta ( ) ,
2020 syncNFTTokenMeta ( ) ,
2121 refreshFTMeta ( ) ,
22- // refreshMTMeta(),
2322 refreshNFTMeta ( ) ,
2423 ] ) ;
2524 logger . info ( 'tokenMeta: job ended' ) ;
Original file line number Diff line number Diff line change 11import { dbContracts } from '#libs/knex' ;
22import { resetFTMeta } from '#services/fts/meta' ;
3- // import { resetMTMeta } from '#services/mts/meta';
43import { resetNFTMeta } from '#services/nfts/meta' ;
54import { MetaContract , Raw } from '#types/types' ;
65
@@ -9,11 +8,7 @@ export const resetMeta = async () => {
98 const contracts = deployments . map ( ( deployment ) => deployment . contract ) ;
109
1110 if ( contracts . length ) {
12- await Promise . all ( [
13- resetFTMeta ( contracts ) ,
14- // resetMTMeta(contracts),
15- resetNFTMeta ( contracts ) ,
16- ] ) ;
11+ await Promise . all ( [ resetFTMeta ( contracts ) , resetNFTMeta ( contracts ) ] ) ;
1712 }
1813} ;
1914
You can’t perform that action at this time.
0 commit comments