chore: frontend and schedule module

This commit is contained in:
tao.chen
2026-08-04 13:58:19 +08:00
parent e18a7a34a3
commit 1cf2eecbc9
5 changed files with 13 additions and 21 deletions
+1 -2
View File
@@ -567,12 +567,11 @@ export async function getLatestScriptVersion(
workspaceId: string,
scriptId: string,
): Promise<LatestVersion | null> {
const resp = await apiRequest<{ data: LatestVersion | null }>(
return apiRequest<LatestVersion | null>(
`/api/v1/scripts/${scriptId}/latest-version`,
{},
workspaceId,
);
return resp.data;
}
export async function listScriptVersions(