From 1462ca1f6aec587fda25a44fd7334ffc9c31b571 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Tue, 8 Oct 2024 23:27:56 +0530 Subject: [PATCH] feat: export getRecordingByFileName --- server/src/routes/storage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);