chore: lint
This commit is contained in:
@@ -78,9 +78,9 @@ const formatRecordingById = (recordingData: any) => {
|
|||||||
createdAt: new Date(recordingMeta.create_date).getTime(),
|
createdAt: new Date(recordingMeta.create_date).getTime(),
|
||||||
inputParameters,
|
inputParameters,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
router.get("/recordings/:fileName", requireAPIKey, async (req: Request, res: Response) => {
|
router.get("/recordings/:fileName", requireAPIKey, async (req: Request, res: Response) => {
|
||||||
try {
|
try {
|
||||||
const fileContent = await readFile(`./../storage/recordings/${req.params.fileName}.waw.json`);
|
const fileContent = await readFile(`./../storage/recordings/${req.params.fileName}.waw.json`);
|
||||||
|
|
||||||
@@ -102,5 +102,4 @@ const formatRecordingById = (recordingData: any) => {
|
|||||||
message: `Recording with name "${req.params.fileName}" not found.`,
|
message: `Recording with name "${req.params.fileName}" not found.`,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user