Bugfix: error handling in db-update function
This commit is contained in:
Vendored
+3
@@ -60,6 +60,9 @@ export default async function DbUpdate({ table, data, query, targetId, config, }
|
||||
values: values,
|
||||
config,
|
||||
});
|
||||
if (res.error) {
|
||||
return res;
|
||||
}
|
||||
sqlObj.string = sql;
|
||||
sqlObj.values = values;
|
||||
let updated_sql = ``;
|
||||
|
||||
Reference in New Issue
Block a user