fix stats api
This commit is contained in:
parent
c7ebefe462
commit
040163df0e
1 changed files with 6 additions and 0 deletions
|
|
@ -91,6 +91,9 @@ class StatsController {
|
|||
as: 'buy_orders',
|
||||
attributes: ['amount'],
|
||||
required: true,
|
||||
where: {
|
||||
status: 'confirmed',
|
||||
},
|
||||
},
|
||||
],
|
||||
order: [['timestamp', 'ASC']],
|
||||
|
|
@ -209,6 +212,9 @@ class StatsController {
|
|||
as: 'buy_orders',
|
||||
attributes: ['amount'],
|
||||
required: true,
|
||||
where: {
|
||||
status: 'confirmed',
|
||||
},
|
||||
},
|
||||
],
|
||||
order: [['timestamp', 'ASC']],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue