forked from bai/curriculum-project-hub
feat: add deployable alpha silo
This commit is contained in:
@@ -130,7 +130,7 @@ export async function registerExplorerRoutes(
|
||||
}
|
||||
const result = await createOrgProject(config.prisma, {
|
||||
organizationId: auth.organization.id,
|
||||
actorFeishuOpenId: auth.user.feishuOpenId,
|
||||
actorFeishuOpenId: auth.feishuOpenId,
|
||||
name: body.name,
|
||||
workspaceRoot: config.projectWorkspaceRoot,
|
||||
...(typeof body.folderId === "string" ? { folderId: body.folderId } : {}),
|
||||
@@ -219,7 +219,7 @@ export async function registerExplorerRoutes(
|
||||
return await archiveOrgProjectChatBinding(config.prisma, {
|
||||
organizationId: auth.organization.id,
|
||||
projectId,
|
||||
actorFeishuOpenId: auth.user.feishuOpenId,
|
||||
actorFeishuOpenId: auth.feishuOpenId,
|
||||
});
|
||||
} catch (err) {
|
||||
return handleRouteError(reply, err);
|
||||
|
||||
Reference in New Issue
Block a user