Bugfix: error handling in db-update function

This commit is contained in:
2026-08-09 07:34:14 +01:00
parent b8e9ab07f2
commit e8f630ae98
3 changed files with 8 additions and 1 deletions
+4
View File
@@ -106,6 +106,10 @@ export default async function DbUpdate<
config,
});
if (res.error) {
return res;
}
sqlObj.string = sql;
sqlObj.values = values as any[];