--- title: "[bojemoi] fix(nuclei): cast dojo_imported to int to prevent boolean/integer type mismatch" date: 2026-06-14T22:43:54+02:00 draft: false tags: ["commit", "bojemoi", "main"] categories: ["Git Activity"] summary: "Commit 40a902a par Betty dans bojemoi" author: "Betty" --- ## Commit `40a902a` | | | |---|---| | **Repository** | bojemoi | | **Branch** | `main` | | **Author** | Betty | | **Hash** | `40a902a51ca49e676375e569f2b2f2b254af9d7f` | ### Description scan_data from API can return "True"/"False" strings (old Valkey cache entries) which psycopg2 converts to Python bool → PostgreSQL rejects as wrong type. int(value or 0) handles all edge cases: bool strings, None, empty string. Co-Authored-By: Claude Sonnet 4.6 ### Files Changed ``` M borodino/thearm_nuclei ``` ### Diff Summary ``` borodino/thearm_nuclei | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ```