ref #5417 fix transactions
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Jorge Penadés 2023-10-02 09:04:43 +02:00
parent b0575a81a0
commit a7128b8187
1 changed files with 1 additions and 2 deletions

View File

@ -59,7 +59,7 @@ module.exports = Self => {
if (ctx.args && args.to) {
const dateTo = args.to;
dateTo.setHours(23, 59, 0, 0);
dateTo.setHours(23, 59, 59, 999);
}
const where = buildFilter(args, (param, value) => {
@ -72,7 +72,6 @@ module.exports = Self => {
return {'t.amount': (value * 100)};
case 'from':
return {'t.created': {gte: value}};
case 'to':
return {'t.created': {lte: value}};
}