MCPcopy
hub / github.com/CapSoftware/Cap / markError

Function markError

apps/web/workflows/transcribe.ts:170–177  ·  view source on GitHub ↗
(videoId: string)

Source from the content-addressed store, hash-verified

168}
169
170async function markError(videoId: string): Promise<void> {
171 "use step";
172
173 await db()
174 .update(videos)
175 .set({ transcriptionStatus: "ERROR" })
176 .where(eq(videos.id, videoId as Video.VideoId));
177}
178
179async function extractAudio(
180 videoId: string,

Callers 1

transcribeVideoWorkflowFunction · 0.85

Calls 2

dbFunction · 0.90
updateMethod · 0.80

Tested by

no test coverage detected