Merge branch 'jskim-node' of https://g.wace.me/jskim/vexplor_dev into ycshin-node
This commit is contained in:
@@ -1195,6 +1195,10 @@ export class DynamicFormService {
|
||||
|
||||
const updatedRecord = Array.isArray(result) ? result[0] : result;
|
||||
|
||||
if (!updatedRecord) {
|
||||
throw new Error(`업데이트 대상 레코드를 찾을 수 없습니다. (id: ${id}, 테이블: ${tableName})`);
|
||||
}
|
||||
|
||||
// 🔥 조건부 연결 실행 (UPDATE 트리거)
|
||||
try {
|
||||
if (company_code) {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -202,7 +202,7 @@ export class RiskAlertService {
|
||||
}
|
||||
|
||||
// 2순위: 한국도로공사 API (현재 차단됨)
|
||||
const exwayApiKey = process.env.EXWAY_API_KEY || '7820214492';
|
||||
const exwayApiKey = process.env.EXWAY_API_KEY || '';
|
||||
try {
|
||||
const url = 'https://data.ex.co.kr/openapi/business/trafficFcst';
|
||||
|
||||
@@ -321,7 +321,7 @@ export class RiskAlertService {
|
||||
}
|
||||
|
||||
// 2순위: 한국도로공사 API
|
||||
const exwayApiKey = process.env.EXWAY_API_KEY || '7820214492';
|
||||
const exwayApiKey = process.env.EXWAY_API_KEY || '';
|
||||
try {
|
||||
const url = 'https://data.ex.co.kr/openapi/business/trafficFcst';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user