chore: frontend and schedule module
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user