hotfix clientUnpaid
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
aeb50b2c19
commit
2363828092
|
@ -80,7 +80,7 @@ module.exports = function(Self) {
|
||||||
const data = await Self.rawSql(query, [id, date], myOptions);
|
const data = await Self.rawSql(query, [id, date], myOptions);
|
||||||
|
|
||||||
client.debt = data[0].debt;
|
client.debt = data[0].debt;
|
||||||
client.unpaid = await Self.app.models.ClientUnpaid.findOne({id}, myOptions);
|
client.unpaid = await Self.app.models.ClientUnpaid.findById(id, null, myOptions);
|
||||||
|
|
||||||
return client;
|
return client;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue