chore: lint
This commit is contained in:
@@ -124,14 +124,14 @@ router.get(('/recordings/:id/runs'), requireSignIn, async (req, res) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
res.status(200).json(response);
|
res.status(200).json(response);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Error fetching runs:", error);
|
console.error("Error fetching runs:", error);
|
||||||
res.status(500).json({
|
res.status(500).json({
|
||||||
statusCode: 500,
|
statusCode: 500,
|
||||||
messageCode: "error",
|
messageCode: "error",
|
||||||
message: "Failed to retrieve runs",
|
message: "Failed to retrieve runs",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
function formatRunResponse(run: any) {
|
function formatRunResponse(run: any) {
|
||||||
|
|||||||
Reference in New Issue
Block a user