fix: pool export 추가로 buttonActionStandardController 컴파일 에러 해결
문제:
- buttonActionStandardController에서 pool을 import하려 했으나
- db.ts에서 pool이 export되지 않아 컴파일 에러 발생
해결:
- db.ts에 'export { pool }' 추가
- pool 직접 접근이 필요한 경우를 위해 명시적 export
영향받는 파일:
- backend-node/src/database/db.ts
- backend-node/src/controllers/buttonActionStandardController.ts (사용)
This commit is contained in:
@@ -259,6 +259,9 @@ export function getPoolStatus() {
|
||||
};
|
||||
}
|
||||
|
||||
// Pool 직접 접근 (필요한 경우)
|
||||
export { pool };
|
||||
|
||||
// 기본 익스포트 (편의성)
|
||||
export default {
|
||||
query,
|
||||
|
||||
Reference in New Issue
Block a user