mirror of
https://github.com/modrinth/code.git
synced 2026-08-28 10:34:53 +00:00
fix(backend): moderation locking logic fix (#5979)
* fix(backend): moderation locking logic fix * fix: clippy
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user