views/status: do not include both staus & lint_rval #141

Open
opened 2025-12-17 13:22:58 +00:00 by fkobi · 0 comments
Owner

What is what we currently do:

api/reuse_api/views.py Lines 154 to 155 in 90c117f708
"status": row.status,
"lint_code": row.lint_code,

it is completly redundant as one is derived from the other.

I think returning only the return code is enough.

What is what we currently do: https://git.fsfe.org/reuse/api/src/commit/90c117f708feca897e0c6f6fe972170f755cb12b/reuse_api/views.py#L154-L155 it is completly redundant as one is derived from the other. I think returning only the return code is enough.
floriansnow was assigned by fkobi 2025-12-17 13:23:19 +00:00
fkobi added the
component
frontend
prio
mid
bug
labels 2026-01-26 18:29:21 +00:00
Sign in to join this conversation.