Skip to content

Commit a375388

Browse files
committed
lint
1 parent bcc3a32 commit a375388

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

packages/rpc/src/routers/websites.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,12 +209,18 @@ const fetchChartData = async (
209209
acc[id] = { points: [], hasAnyData: false };
210210
return acc;
211211
},
212-
{} as Record<string, { points: { date: string; value: number }[]; hasAnyData: boolean }>
212+
{} as Record<
213+
string,
214+
{ points: { date: string; value: number }[]; hasAnyData: boolean }
215+
>
213216
);
214217

215218
for (const row of queryResults) {
216219
if (groupedData[row.websiteId]) {
217-
groupedData[row.websiteId].points.push({ date: row.date, value: row.value });
220+
groupedData[row.websiteId].points.push({
221+
date: row.date,
222+
value: row.value,
223+
});
218224
if (row.hasAnyData === 1) {
219225
groupedData[row.websiteId].hasAnyData = true;
220226
}

0 commit comments

Comments
 (0)