refs #5804 fix: delete transaction
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-07-28 12:24:24 +02:00
parent dacbf773c4
commit 1d4ce2c703
1 changed files with 1 additions and 5 deletions

View File

@ -22,13 +22,9 @@ module.exports = Self => {
} }
}); });
Self.getItemTypeWorker = async(filter, options) => { Self.getItemTypeWorker = async filter => {
const myOptions = {};
const conn = Self.dataSource.connector; const conn = Self.dataSource.connector;
if (typeof options == 'object')
Object.assign(myOptions, options);
const query = const query =
`SELECT DISTINCT u.id, u.nickname `SELECT DISTINCT u.id, u.nickname
FROM itemType it FROM itemType it