forked from EduCraft/curriculum-project-hub
docs(adr): member-group ADR 改号 0028→0038,避免与 agent-config-folder-tree 撞号
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* /database/api/groups/* 成员组管理端点(ADR-0028)。
|
||||
* /database/api/groups/* 成员组管理端点(ADR-0038)。
|
||||
* 约定:绝对路径;actorOrNull 前置 fail closed;业务全走 memberGroupService;
|
||||
* 错误统一 sendRouteError。
|
||||
*
|
||||
@@ -108,7 +108,7 @@ export async function registerMemberGroupRoutes(
|
||||
const { id } = request.params as { id: string };
|
||||
const body = bodyObject(request.body);
|
||||
if (body["parentId"] !== undefined) {
|
||||
throw new FileLibError(400, "invalid_request", "reparent is not supported (ADR-0028)");
|
||||
throw new FileLibError(400, "invalid_request", "reparent is not supported (ADR-0038)");
|
||||
}
|
||||
// description 需区分"未传"(不动)与 ""(清空),故不用 optionalString
|
||||
// (它把 "" 也归为 undefined)。
|
||||
|
||||
Reference in New Issue
Block a user