mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 08:04:53 +00:00
Fix SQL query in getPowerClampData method to use 'fact_daily_energy_consumed'
This commit is contained in:
@ -11,7 +11,7 @@ export class PowerClampService {
|
||||
|
||||
async getPowerClampData() {
|
||||
const sql = this.sqlLoader.loadQuery(
|
||||
'power-clamp',
|
||||
'fact_daily_energy_consumed',
|
||||
'fact_daily_energy_consumed',
|
||||
);
|
||||
return this.dataSource.manager.query(sql);
|
||||
|
||||
Reference in New Issue
Block a user