Spaces:
Paused
Paused
| import { VideoTask } from "../types.mts" | |
| import { completedTasksDirFilePath } from "../config.mts" | |
| import { readTasks } from "./readTasks.mts" | |
| export const getCompletedTasks = async (ownerId?: string): Promise<VideoTask[]> => { | |
| const completedTasks = await readTasks(completedTasksDirFilePath, ownerId) | |
| return completedTasks | |
| } |