esLint
This commit is contained in:
@@ -29,6 +29,7 @@ export default async function handler(
|
||||
await fs.writeFile(filePath, JSON.stringify(data, null, 2), "utf-8");
|
||||
res.status(200).json({ success: true });
|
||||
} catch (error) {
|
||||
console.error("Error processing updateTdrReferenceCurveAPIHandler:", error);
|
||||
res.status(500).json({ error: "Failed to save file" });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user