fix(backend): moderation locking logic fix (#5979)

* fix(backend): moderation locking logic fix

* fix: clippy
This commit is contained in:
Calum H.
2026-05-03 18:29:05 +00:00
committed by GitHub
parent 2da2035a6f
commit 8a72ee9968
4 changed files with 29 additions and 28 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ impl ApiProject for ApiV2 {
let resp = self.create_project(creation_data, pat).await;
assert_status!(&resp, StatusCode::OK);
// Approve as admin so fixture setup is not blocked by the moderation-lock guard.
// Approve as admin so fixture setup is not affected by moderation-lock contention.
let req = TestRequest::patch()
.uri(&format!("/v2/project/{slug}"))
.append_pat(ADMIN_USER_PAT)