summaryrefslogtreecommitdiff
path: root/lib/techsales-rfq/approval-handlers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/techsales-rfq/approval-handlers.ts')
-rw-r--r--lib/techsales-rfq/approval-handlers.ts10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/techsales-rfq/approval-handlers.ts b/lib/techsales-rfq/approval-handlers.ts
index 6ffd9fb4..0d4629e4 100644
--- a/lib/techsales-rfq/approval-handlers.ts
+++ b/lib/techsales-rfq/approval-handlers.ts
@@ -98,15 +98,7 @@ export async function sendTechSalesRfqWithApprovalInternal(payload: {
}
}
- // 2. RFQ 상태를 "RFQ Sent"로 변경
- await db.update(techSalesRfqs)
- .set({
- status: TECH_SALES_RFQ_STATUSES.RFQ_SENT,
- updatedAt: new Date(),
- })
- .where(eq(techSalesRfqs.id, payload.rfqId));
-
- // 3. 실제 RFQ 발송 실행
+ // 2. 실제 RFQ 발송 실행 (상태 변경과 이메일 발송은 sendTechSalesRfqToVendors에서 처리)
const sendResult = await sendTechSalesRfqToVendors({
rfqId: payload.rfqId,
vendorIds: payload.vendorIds,