Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-19 16:51:09 +00:00
co-authored by renee-png
parent 173e5aa719
commit 2b513e6c05
+2 -2
View File
@@ -459,8 +459,8 @@ const IMPORTERS: ImporterConfig[] = [
(r._casenum && ctx.caseByNumber.get(String(r._casenum))) ||
(r._casename && ctx.caseByTitle.get(String(r._casename).toLowerCase().trim())) ||
null;
delete r._caseext; delete r._casenum; delete r._casename;
if (!r.case_id || r.amount == null) return null;
// Keep hints; async pre-insert step may create an archived case.
if (r.amount == null) return null;
r.user_id = ctx.userId;
return r;
},