Skip to content

Commit

Permalink
Add new methods 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandros12345 committed Apr 21, 2024
1 parent b22fb81 commit 471dfb5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/bar/bar.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ export class BarController {
data: await this.barService.getReport(new Date(date)),
};
} catch (error) {
console.log('reports.error', error);
return {
status: 'ERROR',
error,
error: error.message,
};
}
}
Expand Down

0 comments on commit 471dfb5

Please sign in to comment.