Main takes no push and only mesh-tools merges, set by setup and guarded (issue 948, ADR 0398 §2)
This commit is contained in:
@@ -204,6 +204,8 @@ function fakeForge(): Promise<Forge> {
|
||||
if (req.method === "GET" && p === "/api/v1/orgs/novox/teams") return json(res, 200, [{ id: 7, name: "mesh-tools" }]);
|
||||
if (req.method === "PATCH" && p === "/api/v1/teams/7") return json(res, 200, { id: 7 });
|
||||
if (req.method === "PUT" && p === "/api/v1/teams/7/members/mesh-tools") return json(res, 204, null);
|
||||
// Main's rule put right in every repository (issue 948): this forge has none.
|
||||
if (req.method === "GET" && p === "/api/v1/orgs/novox/repos") return json(res, 200, []);
|
||||
}
|
||||
const adminUser = url.pathname.match(/^\/api\/v1\/admin\/users\/([^/]+)$/);
|
||||
if (adminUser && req.method === "PATCH") {
|
||||
|
||||
Reference in New Issue
Block a user