File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/samples/sudt/src Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import {
1313import { config } from '@ckb-lumos/lumos'
1414import { DataSource } from 'typeorm'
1515import { AccountController } from './controllers/account.controller'
16+ import { ExplorerService } from './services/explorer.service'
1617
1718const initiateDataSource = async ( ) => {
1819 const dataSource = new DataSource ( {
@@ -68,7 +69,7 @@ export const bootstrap = async () => {
6869
6970 // init kuai io
7071 const cor = new CoR ( )
71- const sudtController = new SudtController ( dataSource )
72+ const sudtController = new SudtController ( dataSource , new ExplorerService ( ) )
7273 const accountController = new AccountController ( dataSource )
7374 cor . use ( sudtController . middleware ( ) )
7475 cor . use ( accountController . middleware ( ) )
You can’t perform that action at this time.
0 commit comments