feat: 更新获取已关闭工作空间列表的请求,添加pageSize参数以限制返回数量
This commit is contained in:
@@ -45,7 +45,7 @@ app.route({
|
||||
})
|
||||
}
|
||||
}).define(async (ctx) => {
|
||||
const closedWorkspaces = await cnb.workspace.list({ status: 'closed' });
|
||||
const closedWorkspaces = await cnb.workspace.list({ status: 'closed', pageSize: 100 });
|
||||
if (closedWorkspaces.code !== 200) {
|
||||
ctx.throw(500, '获取已关闭工作空间列表失败');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user