Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharth-sahoo committed Oct 8, 2024
1 parent 361158d commit 29aa860
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions services/ad-tech/src/controllers/report-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,12 @@ export const ReportStore = (() => {

/** Add a new report to the in-memory storage. */
const addReport = (report: Report) => {
Reports.set(
`${report.category}||${report.timestamp}`,
report,
);
Reports.set(`${report.category}||${report.timestamp}`, report);
};

/** Returns all reports from in-memory storage. */
const getAllReports = (): Report[] => {
return Reports.keys().map(key => Reports.get(key) as Report);
return Reports.keys().map((key) => Reports.get(key) as Report);
};

return {
Expand Down

0 comments on commit 29aa860

Please sign in to comment.