esLint
This commit is contained in:
@@ -21,6 +21,7 @@ export default async function handler(
|
||||
const fileContent = await fs.readFile(filePath, "utf-8");
|
||||
res.status(200).json(JSON.parse(fileContent));
|
||||
} catch (error) {
|
||||
console.error("Error processing tdrReferenceCurveAPIHandler:", error);
|
||||
res.status(404).json({ error: "File not found" });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user