Преглед изворни кода

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

- 删除重复导入的parseWithAwait函数,清理代码结构
- 消除IDE可能的重复导入警告,提高代码可读性
yourname пре 2 месеци
родитељ
комит
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,