YueGuobin 97e7a79117
fix: report empty projects as not locked
GET /projects/{id}/locked returned True for a project with no drawings
or nodes: both loops ran zero times and the fallback return won. Locking
and unlocking such a project always succeeded while the state stayed
"locked", so it could never be unlocked.

Report a project with nothing to lock as not locked, and re-check the
state after unlock in the route tests.
2026-08-25 13:45:36 +08:00
..
2026-04-11 19:22:05 +08:00
2026-08-08 16:27:14 +02:00
2026-05-09 18:23:00 +08:00
2024-04-22 19:08:45 +07:00