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
..
2025-01-02 23:17:55 +07:00
2026-03-05 12:38:28 +08:00
2023-09-07 17:31:11 +07:00
2026-04-11 19:54:49 +08:00