Skip to content

Commit df8a30c

Browse files
committed
fixing lint errors
1 parent 3378a34 commit df8a30c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/scripts/webhook.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,10 @@ export default async (data) => {
3131
const update = [];
3232
await Promise.all(data.map(async (d) => {
3333
const period = parseInt(d.period, 10);
34-
const { type, countBefore, changedIds } = d.types.find(t => { return t.type === 'Gesetzgebung' || t.type === 'Antrag';});
34+
const { type, countBefore, changedIds } = d.types.find(t => { return t.type === 'Gesetzgebung' || t.type === 'Antrag'; });
3535
const group = groups.find(c => c.period === period);
36-
const localGroup = group ? group.types.find(ct => ct.type === type) : null;
36+
const localGroup = group ? group.types.find(ct => ct.type === type) : null;
3737
const localCount = localGroup ? localGroup.count : 0;
38-
console.log({ type, countBefore, changedIds, group, localCount })
3938
// Append Changed IDs
4039
update.concat(changedIds);
4140
// Compare Counts Remote & Local

0 commit comments

Comments
 (0)