post: commit 40a902a in bojemoi
Some checks failed
Hugo Build & Deploy / build-deploy (push) Has been cancelled
Some checks failed
Hugo Build & Deploy / build-deploy (push) Has been cancelled
This commit is contained in:
40
content/posts/commits/2026-06-14-commit-40a902a.md
Normal file
40
content/posts/commits/2026-06-14-commit-40a902a.md
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
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 <noreply@anthropic.com>
|
||||
|
||||
### Files Changed
|
||||
|
||||
```
|
||||
M borodino/thearm_nuclei
|
||||
```
|
||||
|
||||
### Diff Summary
|
||||
|
||||
```
|
||||
borodino/thearm_nuclei | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
```
|
||||
Reference in New Issue
Block a user