mirror of
https://github.com/Mintplex-Labs/vector-admin.git
synced 2026-08-27 10:31:23 -04:00
23 lines
353 B
JavaScript
23 lines
353 B
JavaScript
function handleError(err = null) {
|
|
if (!err) return;
|
|
console.error("Failed to set table pragma", err);
|
|
}
|
|
|
|
async function preSave(_req, _res, args, next) {
|
|
next();
|
|
}
|
|
|
|
async function postSave(_req, _res, args, next) {
|
|
next();
|
|
}
|
|
|
|
async function preList(_req, _res, args, next) {
|
|
next();
|
|
}
|
|
|
|
module.exports = {
|
|
preSave,
|
|
postSave,
|
|
preList,
|
|
};
|