소스 검색

♻️ refactor(routes): remove duplicate import in generic-crud.routes.ts

- 删除重复导入的parseWithAwait函数,清理代码结构
- 消除IDE可能的重复导入警告,提高代码可读性
yourname 3 달 전
부모
커밋
27c88c08f4
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      src/server/utils/generic-crud.routes.ts

+ 0 - 1
src/server/utils/generic-crud.routes.ts

@@ -6,7 +6,6 @@ import { AuthContext } from '../types/context';
 import { ObjectLiteral } from 'typeorm';
 import { AppDataSource } from '../data-source';
 import { parseWithAwait } from './parseWithAwait';
-import { parseWithAwait } from './parseWithAwait';
 
 export function createCrudRoutes<
   T extends ObjectLiteral,