diff --git a/server/src/routes/storage.ts b/server/src/routes/storage.ts index 8e88e3dc..d24c0131 100644 --- a/server/src/routes/storage.ts +++ b/server/src/routes/storage.ts @@ -14,7 +14,7 @@ import { requireSignIn } from '../middlewares/auth'; // import { workflowQueue } from '../worker'; // todo: move from here -const getRecordingByFileName = async (fileName: string): Promise => { +export const getRecordingByFileName = async (fileName: string): Promise => { try { const recording = await readFile(`./../storage/recordings/${fileName}.waw.json`) const parsedRecording = JSON.parse(recording);