Commit 1572326
committed
Make customUnitRateID optional and apply Prettier to tests
The duplicate-policy clone helper already treated newDefaultRateID as
optional at runtime; mirror that in the parameter type so callers that
don't have a rate ID (existing unit tests for per-diem-only paths) can
pass through without an explicit pass-through. No production-call-site
behavior change — buildDuplicatePolicyData still always provides it.1 parent 3ce4e8b commit 1572326
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
| 338 | + | |
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
374 | 378 | | |
375 | 379 | | |
376 | 380 | | |
| |||
0 commit comments