Lint all the things

This commit is contained in:
Dave
2025-08-19 16:23:29 -04:00
parent f6d6b548be
commit 33fb60ca1a
640 changed files with 2129 additions and 3927 deletions

View File

@@ -186,8 +186,10 @@ async function OpenSearchUpdateHandler(req, res) {
console.log(` ${insertJobsBulk.body.items.length} Records inserted in ${insertJobsBulk.body.took}.`);
if (insertJobsBulk.body.errors) console.error("*** Error while inserting.");
}
return res.status(200).json({ message: "OpenSearch index updated successfully." });
} catch (error) {
console.log(error);
return res.status(500).json({ message: "Error updating OpenSearch index.", error: error.message });
}
}