fix TS build: use rawDot not dotNumber in pending filing query
This commit is contained in:
parent
ffc5a16b5c
commit
592b9875da
1 changed files with 1 additions and 1 deletions
|
|
@ -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>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue