[bojemoi] fix(nuclei): cast dojo_imported to int to prevent boolean/integer type mismatch
2026-06-14T22:43:54+02:00
false
commit
bojemoi
main
Git Activity
Commit 40a902a par Betty dans bojemoi
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.