From 592b9875da9138c87983152256e2979e5d01d27f Mon Sep 17 00:00:00 2001 From: justin Date: Sat, 30 May 2026 19:03:15 -0500 Subject: [PATCH] fix TS build: use rawDot not dotNumber in pending filing query --- api/src/routes/dot-lookup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/routes/dot-lookup.ts b/api/src/routes/dot-lookup.ts index 24cff50..4567974 100644 --- a/api/src/routes/dot-lookup.ts +++ b/api/src/routes/dot-lookup.ts @@ -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;