fix TS build: use rawDot not dotNumber in pending filing query

This commit is contained in:
justin 2026-05-30 19:03:15 -05:00
parent ffc5a16b5c
commit 592b9875da

View file

@ -113,7 +113,7 @@ router.get("/api/v1/dot/lookup", async (req, res) => {
AND service_slug = 'mcs150-update'
AND status IN ('filed', 'submitted', 'processing', 'in_progress')
ORDER BY updated_at DESC LIMIT 1`,
[dotNumber],
[rawDot],
);
if (pendingResult.rows.length > 0) {
const row = pendingResult.rows[0] as Record<string, unknown>;