Browse Source

fix(nocodb): add missing await

pull/5262/head
Wing-Kam Wong 2 years ago
parent
commit
f0c9086190
  1. 3
      packages/nocodb/src/lib/controllers/sync/sync.ctl.ts

3
packages/nocodb/src/lib/controllers/sync/sync.ctl.ts

@ -3,9 +3,8 @@ import ncMetaAclMw from '../../meta/helpers/ncMetaAclMw';
import { syncService } from '../../services'; import { syncService } from '../../services';
export async function syncSourceList(req: Request, res: Response) { export async function syncSourceList(req: Request, res: Response) {
// todo: pagination
res.json( res.json(
syncService.syncSourceList({ await syncService.syncSourceList({
projectId: req.params.projectId, projectId: req.params.projectId,
}) })
); );

Loading…
Cancel
Save