윤정민 aa53a5b070 Extract ALREADY_EXISTS guard and drop duplicate wallet read
- isAlreadyExistsError를 pointService에서 middleware/errors로 이동 — 레포지토리가 서비스를 import하는 계층 역전 없이 양쪽에서 쓰기 위함. pointService는 re-export로 기존 호출부 호환 유지
- createOrder에서 getWalletTx 사전 호출과 잔액 사전 검사 제거 — applyPointChangesTx가 같은 트랜잭션에서 동일한 HttpError(409, INSUFFICIENT_BALANCE)를 던지므로 동작은 같고 wallet 문서 tx.get이 2회에서 1회로 준다
2026-07-27 13:24:35 +09:00
2026-04-13 09:18:34 +09:00
2026-04-13 09:18:34 +09:00
2026-04-02 09:00:10 +09:00
2026-04-02 09:00:10 +09:00
2026-04-13 09:18:30 +09:00
2026-04-13 09:18:30 +09:00
2026-04-13 09:18:30 +09:00
2026-04-13 09:18:34 +09:00
2026-04-13 09:18:34 +09:00
2026-04-02 09:00:10 +09:00
2026-04-13 09:18:34 +09:00
Description
No description provided
920 KiB
Languages
TypeScript 85.5%
HTML 14.5%